C# 클래스 UnityEditor.PreviewRenderUtility

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_Camera UnityEngine.Camera
m_CameraFieldOfView float
m_Light UnityEngine.Light[]

공개 메소드들

메소드 설명
BeginPreview ( Rect r, GUIStyle previewBackground ) : void
BeginPreviewHDR ( Rect r, GUIStyle previewBackground ) : void
BeginStaticPreview ( Rect r ) : void
BeginStaticPreviewHDR ( Rect r ) : void
Cleanup ( ) : void
DrawMesh ( Mesh mesh, Matrix4x4 matrix, Material mat, int subMeshIndex ) : void
DrawMesh ( Mesh mesh, Matrix4x4 matrix, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties ) : void
DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex ) : void
DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties ) : void
DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties, Transform probeAnchor ) : void
EndAndDrawPreview ( Rect r ) : void
EndPreview ( ) : Texture
EndStaticPreview ( ) : Texture2D
GetScaleFactor ( float width, float height ) : float
PreviewRenderUtility ( ) : System
PreviewRenderUtility ( bool renderFullScene ) : System

비공개 메소드들

메소드 설명
BeginPreview ( Rect r, GUIStyle previewBackground, bool hdr ) : void
BeginStaticPreview ( Rect r, bool hdr ) : void
GetPreviewSphere ( ) : Mesh
InitPreview ( Rect r, bool hdr ) : void

메소드 상세

BeginPreview() 공개 메소드

public BeginPreview ( Rect r, GUIStyle previewBackground ) : void
r UnityEngine.Rect
previewBackground UnityEngine.GUIStyle
리턴 void

BeginPreviewHDR() 공개 메소드

public BeginPreviewHDR ( Rect r, GUIStyle previewBackground ) : void
r UnityEngine.Rect
previewBackground UnityEngine.GUIStyle
리턴 void

BeginStaticPreview() 공개 메소드

public BeginStaticPreview ( Rect r ) : void
r UnityEngine.Rect
리턴 void

BeginStaticPreviewHDR() 공개 메소드

public BeginStaticPreviewHDR ( Rect r ) : void
r UnityEngine.Rect
리턴 void

Cleanup() 공개 메소드

public Cleanup ( ) : void
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Mesh mesh, Matrix4x4 matrix, Material mat, int subMeshIndex ) : void
mesh UnityEngine.Mesh
matrix UnityEngine.Matrix4x4
mat UnityEngine.Material
subMeshIndex int
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Mesh mesh, Matrix4x4 matrix, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties ) : void
mesh UnityEngine.Mesh
matrix UnityEngine.Matrix4x4
mat UnityEngine.Material
subMeshIndex int
customProperties UnityEngine.MaterialPropertyBlock
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex ) : void
mesh UnityEngine.Mesh
pos Vector3
rot UnityEngine.Quaternion
mat UnityEngine.Material
subMeshIndex int
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties ) : void
mesh UnityEngine.Mesh
pos Vector3
rot UnityEngine.Quaternion
mat UnityEngine.Material
subMeshIndex int
customProperties UnityEngine.MaterialPropertyBlock
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Mesh mesh, Vector3 pos, Quaternion rot, Material mat, int subMeshIndex, MaterialPropertyBlock customProperties, Transform probeAnchor ) : void
mesh UnityEngine.Mesh
pos Vector3
rot UnityEngine.Quaternion
mat UnityEngine.Material
subMeshIndex int
customProperties UnityEngine.MaterialPropertyBlock
probeAnchor UnityEngine.Transform
리턴 void

EndAndDrawPreview() 공개 메소드

public EndAndDrawPreview ( Rect r ) : void
r UnityEngine.Rect
리턴 void

EndPreview() 공개 메소드

public EndPreview ( ) : Texture
리턴 UnityEngine.Texture

EndStaticPreview() 공개 메소드

public EndStaticPreview ( ) : Texture2D
리턴 UnityEngine.Texture2D

GetScaleFactor() 공개 메소드

public GetScaleFactor ( float width, float height ) : float
width float
height float
리턴 float

PreviewRenderUtility() 공개 메소드

public PreviewRenderUtility ( ) : System
리턴 System

PreviewRenderUtility() 공개 메소드

public PreviewRenderUtility ( bool renderFullScene ) : System
renderFullScene bool
리턴 System

프로퍼티 상세

m_Camera 공개적으로 프로퍼티

public Camera,UnityEngine m_Camera
리턴 UnityEngine.Camera

m_CameraFieldOfView 공개적으로 프로퍼티

public float m_CameraFieldOfView
리턴 float

m_Light 공개적으로 프로퍼티

public Light[],UnityEngine m_Light
리턴 UnityEngine.Light[]