Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CEditorSkin Class Reference

Documentation for class CEditorSkin. More...

#include <doc.h>

Inheritance diagram for CEditorSkin:
[legend]

Public Types

enum  EPainterMode {
  NoOp , Fill , Brush , Sticker ,
  Layer , BadgeSlots , Team
}
 
enum  EPainterSolidType {
  Other , CarWithPilot , Pilot_Male , Pilot_Female ,
  Helmet
}
 
enum  EEditorSkin_IconType { Stickers , Brushs , Layers , SubObjects }
 
- Public Types inherited from CEditorPluginAPI
enum  EEditorFileToolBar_QuadType {
  Quit , New , Open , SaveAs ,
  Save , Import , Export , Close ,
  Help
}
 

Public Member Functions

Void ToggleIsTextEnabled ()
 
Void ToggleIsPickingColor ()
 
Void TogglePaintSymMode ()
 
Void EditCurrentLayerSelected ()
 
Void AddAndEditLayer ()
 
Void CloseEditSelectedLayer ()
 
Void MoveSelectedLayerUp ()
 
Void MoveSelectedLayerDown ()
 
Void DeleteSelectedLayer ()
 
Void Undo ()
 
Void Redo ()
 
Void ExportSkin ()
 
Void AlignBrushSticker ()
 
Void AskSwitchEditedNodType ()
 
Void ToggleHelper ()
 
Void ToggleLight ()
 
Void ExportLayerEdition ()
 
Void ImportLayerEdition ()
 
CImage GetAllIconFromId (Integer Index, CEditorSkin::EEditorSkin_IconType IconType)
 
CImage GetSubFolderIconFromId (Integer FolderIndex, Integer ElemIndex, CEditorSkin::EEditorSkin_IconType IconType)
 
Text GetLayerNameFromIndex (Integer Index)
 
Boolean GetLayerVisibleFromIndex (Integer Index)
 
Void SetLayerVisibleFromIndex (Boolean IsVisible, Integer Index)
 
Boolean SetPainterMode (CEditorSkin::EPainterMode Mode)
 
Integer GetSubObjectMaxPage (Integer NbPerPage)
 
Integer GetMainFrameMaxPage (Integer NbPerPage)
 
Void OnLayerSelected (Integer CurrentPage, Integer Index)
 
Void OnStickerSelected (Integer CurrentPage, Integer Index)
 
Void OnBrushSelected (Integer CurrentPage, Integer Index)
 
Void OnSubFolderElemSelected (Integer SubFolderCurrentPage, Integer ElemIndex)
 
Void SetCurrentLayerSelectedName (Text Name)
 
Void AddScale (Real Delta)
 
Void AddAngle (Real DeltaRad)
 
Void SetSubObjectIndexForLayer (Integer SubObjectIndex, Integer LayerIndex, Boolean ResetFirst)
 
Boolean IsElemAtScriptIndexFolder (Integer ScriptIndex, CEditorSkin::EEditorSkin_IconType IconType)
 
Text GetFolderNameFromScriptIndex (Integer ScriptIndex, CEditorSkin::EEditorSkin_IconType IconType)
 
Boolean IsCtrlDown ()
 
Text GetSubObjectNameFromIndex (Integer ScriptIndex)
 
Void OpenMediaFolder (Text SubFolderPath)
 
Void ReloadResources (Boolean forSubObjects)
 
- Public Member Functions inherited from CEditorPluginAPI
Void NewFile ()
 
Void Undo ()
 
Void Redo ()
 
Void FileToolBarSendCmd (Text CmdName)
 
Boolean SetToolBarButtonVisible (CEditorPluginAPI::EEditorFileToolBar_QuadType Type)
 

Public Attributes

Array< CImage * > AllIcons
 
Array< CEditorEvent * > PendingEvents
 
Array< Vec3CustomColors
 
CEditorSkin::EPainterMode PainterMode
 
CEditorSkin::EPainterSolidType PainterSolidType
 
Boolean IsTextEnabled
 
Boolean IsPickingColor
 
Boolean IsErasing
 
Boolean IsUsingShininessOnly
 
Boolean IsBrushNormal
 
Boolean IsTextSymmetry
 
Array< IntegerSubObjectsSelected
 
Integer SubObjectsCount
 
Array< IntegerLayersSelected
 
Integer LayersCount
 
Array< IntegerStickersSelected
 
Integer StickersCount
 
Array< IntegerBrushsSelected
 
Integer BrushsCount
 
Array< IntegerSubFolderElemSelected
 
Integer CurSubFolderElemCount
 
Real Transparency
 
Real Scale
 
Real Rough
 
Real Metal
 
Vec3 Color
 
Integer EditionLayersCount
 
Boolean IsEditingLayer
 
Integer EditionLayerSelected
 
Integer SubObjectHovered
 
Array< IntegerCurrentLayerSubObjectsSelected
 
Boolean CanUndo
 
Boolean CanRedo
 
Text TextToCreateBitmap
 
Boolean IsFillWithReplacement
 
Text SkinName
 
Boolean IsCameraButtonOn
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Documentation for class CEditorSkin.


The documentation for this class was generated from the following file: