Table of Contents

Class CoreEditor

public class CoreEditor : VVMWEditorBase
Inheritance
CoreEditor
Inherited Members

Methods

AddTarget(Core, Renderer, int, bool, bool)

public static bool AddTarget(Core core, Renderer newTarget, int materialIndex = -1, bool recordUndo = true, bool copyToUdon = false)

Parameters

core Core
newTarget Renderer
materialIndex int
recordUndo bool
copyToUdon bool

Returns

bool

AddTarget(Core, Object, bool, bool)

public static bool AddTarget(Core core, UnityEngine.Object newTarget, bool recordUndo = true, bool copyToUdon = false)

Parameters

core Core
newTarget Object
recordUndo bool
copyToUdon bool

Returns

bool

DrawEmbeddedInspectorGUI()

public override void DrawEmbeddedInspectorGUI()

DrawScreenMaterialOptions(SerializedProperty, SerializedProperty, ref bool, Shader, Material[])

public static void DrawScreenMaterialOptions(SerializedProperty nameProperty, SerializedProperty avProProperty, ref bool useST, Shader selectedShader, Material[] materials)

Parameters

nameProperty SerializedProperty
avProProperty SerializedProperty
useST bool
selectedShader Shader
materials Material[]

DrawScreenRendererOptions(SerializedProperty, Renderer, ref int, out Shader, out Material[])

public static void DrawScreenRendererOptions(SerializedProperty indexProperty, Renderer renderer, ref int mode, out Shader selectedShader, out Material[] materials)

Parameters

indexProperty SerializedProperty
renderer Renderer
mode int
selectedShader Shader
materials Material[]

DrawScreenTextureOptions(SerializedProperty, SerializedProperty)

public static void DrawScreenTextureOptions(SerializedProperty textureProperty, SerializedProperty defaultTextureProperty = null)

Parameters

textureProperty SerializedProperty
defaultTextureProperty SerializedProperty

OnDisable()

protected override void OnDisable()

OnEnable()

protected override void OnEnable()

ParseScreenMode(SerializedProperty, out int, out bool)

public static void ParseScreenMode(SerializedProperty modeProperty, out int mode, out bool useST)

Parameters

modeProperty SerializedProperty
mode int
useST bool

SetScreenMode(SerializedProperty, int, bool)

public static void SetScreenMode(SerializedProperty modeProperty, int mode, bool useST)

Parameters

modeProperty SerializedProperty
mode int
useST bool