C# Class RoseMapObjectDataEditor, UnityRose

Inheritance: Editor
Exibir arquivo Open project: osROSE/UnityRose

Public Properties

Property Type Description
previewDir Vector2

Public Methods

Method Description
HasPreviewGUI ( ) : bool
OnInspectorGUI ( ) : void
OnPreviewGUI ( Rect r, GUIStyle background ) : void
RenderMeshPreview ( RoseMapObjectData, mapObj, PreviewRenderUtility previewUtility, Vector2 direction ) : void
RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D

Private Methods

Method Description
DoRenderPreview ( ) : void
Init ( ) : void
RenderMeshPreviewSkipCameraAndLighting ( RoseMapObjectData, mapObj, Matrix4x4 mats, Bounds bounds, PreviewRenderUtility previewUtility, MaterialPropertyBlock customProperties, Vector2 direction ) : void

Method Details

HasPreviewGUI() public method

public HasPreviewGUI ( ) : bool
return bool

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

OnPreviewGUI() public method

public OnPreviewGUI ( Rect r, GUIStyle background ) : void
r Rect
background GUIStyle
return void

RenderMeshPreview() public static method

public static RenderMeshPreview ( RoseMapObjectData, mapObj, PreviewRenderUtility previewUtility, Vector2 direction ) : void
mapObj RoseMapObjectData,
previewUtility UnityEditor.PreviewRenderUtility
direction Vector2
return void

RenderStaticPreview() public method

public RenderStaticPreview ( string assetPath, Object subAssets, int width, int height ) : Texture2D
assetPath string
subAssets Object
width int
height int
return UnityEngine.Texture2D

Property Details

previewDir public_oe property

public Vector2 previewDir
return Vector2