CGameEditorSkinPluginAPI

Trackmania Next API


CGameEditorSkinPluginAPI

ID 0x0332C000
Instantiable

Inherits from Game::CGameEditorPluginAPI → MwFoundations::CMwNod

Methods

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()

CPlugBitmap@ GetAllIconFromId(int Index, CGameEditorSkinPluginAPI::EEditorSkin_IconType IconType)

CPlugBitmap@ GetSubFolderIconFromId(int FolderIndex, int ElemIndex, CGameEditorSkinPluginAPI::EEditorSkin_IconType IconType)

wstring GetLayerNameFromIndex(int Index)

bool GetLayerVisibleFromIndex(int Index)

void SetLayerVisibleFromIndex(bool IsVisible, int Index)

bool SetPainterMode(CGameEditorSkinPluginAPI::EPainterMode Mode)

int GetSubObjectMaxPage(int NbPerPage)

int GetMainFrameMaxPage(int NbPerPage)

void OnLayerSelected(int CurrentPage, int Index)

void OnStickerSelected(int CurrentPage, int Index)

void OnBrushSelected(int CurrentPage, int Index)

void OnSubFolderElemSelected(int SubFolderCurrentPage, int ElemIndex)

void SetCurrentLayerSelectedName(wstring Name)

void AddScale(float Delta)

void AddAngle(float DeltaRad)

void SetSubObjectIndexForLayer(int SubObjectIndex, int LayerIndex, bool ResetFirst)

bool IsElemAtScriptIndexFolder(int ScriptIndex, CGameEditorSkinPluginAPI::EEditorSkin_IconType IconType)

wstring GetFolderNameFromScriptIndex(int ScriptIndex, CGameEditorSkinPluginAPI::EEditorSkin_IconType IconType)

bool IsCtrlDown()

wstring GetSubObjectNameFromIndex(int ScriptIndex)

void OpenMediaFolder(wstring SubFolderPath)

void ReloadResources(bool forSubObjects)

Members

MwSArray<CPlugBitmap@> AllIcons

MwSArray<CGameEditorEvent@> PendingEvents

MwSArray<vec3> CustomColors

CGameEditorSkinPluginAPI::EPainterMode PainterMode

EPainterMode::NoOp
EPainterMode::Fill
EPainterMode::Brush
EPainterMode::Sticker
EPainterMode::Layer
EPainterMode::BadgeSlots
EPainterMode::Team

CGameEditorSkinPluginAPI::EPainterSolidType PainterSolidType

EPainterSolidType::Other
EPainterSolidType::CarWithPilot
EPainterSolidType::Pilot_Male
EPainterSolidType::Pilot_Female
EPainterSolidType::Helmet

bool IsTextEnabled

bool IsPickingColor

bool IsErasing

bool IsUsingShininessOnly

bool IsBrushNormal

bool IsTextSymmetry

MwSArray<uint> SubObjectsSelected

uint SubObjectsCount

MwSArray<uint> LayersSelected

uint LayersCount

MwSArray<uint> StickersSelected

uint StickersCount

MwSArray<uint> BrushsSelected

uint BrushsCount

MwSArray<uint> SubFolderElemSelected

uint CurSubFolderElemCount

float Transparency

float Scale

float Rough

float Metal

vec3 Color

uint EditionLayersCount

bool IsEditingLayer

uint EditionLayerSelected

uint SubObjectHovered

MwSArray<uint> CurrentLayerSubObjectsSelected

bool CanUndo

bool CanRedo

wstring TextToCreateBitmap

bool IsFillWithReplacement

wstring SkinName

bool IsSkinHelmetOk

bool IsCameraButtonOn

Inherited methods CGameEditorPluginAPI

void NewFile()

void Undo()

void Redo()

void FileToolBarSendCmd(wstring CmdName)

bool SetToolBarButtonVisible(CGameEditorPluginAPI::EEditorFileToolBar_QuadType Type)

Inherited members CMwNod

string IdName

const MwId Id

Enums

EPainterMode

EPainterMode::NoOp
EPainterMode::Fill
EPainterMode::Brush
EPainterMode::Sticker
EPainterMode::Layer
EPainterMode::BadgeSlots
EPainterMode::Team

EPainterSolidType

EPainterSolidType::Other
EPainterSolidType::CarWithPilot
EPainterSolidType::Pilot_Male
EPainterSolidType::Pilot_Female
EPainterSolidType::Helmet

EEditorSkin_IconType

EEditorSkin_IconType::Stickers
EEditorSkin_IconType::Brushs
EEditorSkin_IconType::Layers
EEditorSkin_IconType::SubObjects

Documentation from build 2024-06-28 13:45:56
(Page rendering: 0.06 seconds, 15.82 MB)