C# Class RoseMapObjectDataEditor, UnityRose

Inheritance: Editor
Afficher le fichier Open project: osROSE/UnityRose

Méthodes publiques

Свойство Type Description
previewDir Vector2

Méthodes publiques

Méthode 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

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

Method Details

HasPreviewGUI() public méthode

public HasPreviewGUI ( ) : bool
Résultat bool

OnInspectorGUI() public méthode

public OnInspectorGUI ( ) : void
Résultat void

OnPreviewGUI() public méthode

public OnPreviewGUI ( Rect r, GUIStyle background ) : void
r Rect
background GUIStyle
Résultat void

RenderMeshPreview() public static méthode

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

RenderStaticPreview() public méthode

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

Property Details

previewDir public_oe property

public Vector2 previewDir
Résultat Vector2