C# 클래스 UnityEditor.AvatarPreview

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

공개 프로퍼티들

프로퍼티 타입 설명
fps int
timeControl TimeControl

보호된 프로퍼티들

프로퍼티 타입 설명
m_ViewTool ViewTool

공개 메소드들

메소드 설명
AvatarPreview ( UnityEngine previewObjectInScene, Motion objectOnSameAsset ) : System
AvatarTimeControlGUI ( Rect rect ) : void
DoAvatarPreview ( Rect rect, GUIStyle background ) : void
DoAvatarPreviewDrag ( EventType type ) : void
DoAvatarPreviewFrame ( Event evt, EventType type, Rect previewRect ) : void
DoAvatarPreviewOrbit ( Event evt, Rect previewRect ) : void
DoAvatarPreviewPan ( Event evt ) : void
DoAvatarPreviewZoom ( Event evt, float delta ) : void
DoPreviewSettings ( ) : void
DoRenderPreview ( Rect previewRect, GUIStyle background ) : void
DoSelectionChange ( ) : void
FindBestFittingRenderableGameObjectFromModelAsset ( Object asset, ModelImporterAnimationType animationType ) : GameObject
GetAnimationType ( GameObject go ) : ModelImporterAnimationType
GetAnimationType ( Motion motion ) : ModelImporterAnimationType
IsValidPreviewGameObject ( GameObject target, ModelImporterAnimationType requiredClipType ) : bool
OnDestroy ( ) : void
ResetPreviewInstance ( ) : void

보호된 메소드들

메소드 설명
GetCurrentMouseWorldPosition ( Event evt, Rect previewRect ) : Vector3
HandleMouseDown ( Event evt, int id, Rect previewRect ) : void
HandleMouseDrag ( Event evt, int id, Rect previewRect ) : void
HandleMouseUp ( Event evt, int id ) : void
HandleViewTool ( Event evt, EventType eventType, int id, Rect previewRect ) : void

비공개 메소드들

메소드 설명
CalculatePreviewGameObject ( UnityEngine selectedAnimator, Motion motion, ModelImporterAnimationType animationType ) : GameObject
GetFirstAnimationClipFromMotion ( Motion motion ) : AnimationClip
GetGenericAnimationFallback ( ) : GameObject
GetHumanoidFallback ( ) : GameObject
Init ( ) : void
InitInstance ( UnityEngine scenePreviewObject, Motion motion ) : void
PositionPreviewObjects ( Quaternion pivotRot, Vector3 pivotPos, Quaternion bodyRot, Vector3 bodyPos, Quaternion directionRot, Quaternion rootRot, Vector3 rootPos, Vector3 directionPos, float scale ) : void
PreviewSlider ( float val, float snapThreshold ) : float
RenderPreviewShadowmap ( Light light, float scale, Vector3 center, Vector3 floorPos, Matrix4x4 &outShadowMatrix ) : RenderTexture
Repeat ( int t, int length ) : int
SetPreview ( GameObject gameObject ) : void
SetPreviewAvatarOption ( object obj ) : void
SetPreviewCharacterEnabled ( bool enabled, bool showReference ) : void
SetupBounds ( GameObject go ) : void
SetupPreviewLightingAndFx ( ) : bool
TeardownPreviewLightingAndFx ( bool oldFog ) : void

메소드 상세

AvatarPreview() 공개 메소드

public AvatarPreview ( UnityEngine previewObjectInScene, Motion objectOnSameAsset ) : System
previewObjectInScene UnityEngine
objectOnSameAsset UnityEngine.Motion
리턴 System

AvatarTimeControlGUI() 공개 메소드

public AvatarTimeControlGUI ( Rect rect ) : void
rect UnityEngine.Rect
리턴 void

DoAvatarPreview() 공개 메소드

public DoAvatarPreview ( Rect rect, GUIStyle background ) : void
rect UnityEngine.Rect
background UnityEngine.GUIStyle
리턴 void

DoAvatarPreviewDrag() 공개 메소드

public DoAvatarPreviewDrag ( EventType type ) : void
type EventType
리턴 void

DoAvatarPreviewFrame() 공개 메소드

public DoAvatarPreviewFrame ( Event evt, EventType type, Rect previewRect ) : void
evt UnityEngine.Event
type EventType
previewRect UnityEngine.Rect
리턴 void

DoAvatarPreviewOrbit() 공개 메소드

public DoAvatarPreviewOrbit ( Event evt, Rect previewRect ) : void
evt UnityEngine.Event
previewRect UnityEngine.Rect
리턴 void

DoAvatarPreviewPan() 공개 메소드

public DoAvatarPreviewPan ( Event evt ) : void
evt UnityEngine.Event
리턴 void

DoAvatarPreviewZoom() 공개 메소드

public DoAvatarPreviewZoom ( Event evt, float delta ) : void
evt UnityEngine.Event
delta float
리턴 void

DoPreviewSettings() 공개 메소드

public DoPreviewSettings ( ) : void
리턴 void

DoRenderPreview() 공개 메소드

public DoRenderPreview ( Rect previewRect, GUIStyle background ) : void
previewRect UnityEngine.Rect
background UnityEngine.GUIStyle
리턴 void

DoSelectionChange() 공개 메소드

public DoSelectionChange ( ) : void
리턴 void

FindBestFittingRenderableGameObjectFromModelAsset() 공개 정적인 메소드

public static FindBestFittingRenderableGameObjectFromModelAsset ( Object asset, ModelImporterAnimationType animationType ) : GameObject
asset Object
animationType ModelImporterAnimationType
리턴 UnityEngine.GameObject

GetAnimationType() 공개 정적인 메소드

public static GetAnimationType ( GameObject go ) : ModelImporterAnimationType
go UnityEngine.GameObject
리턴 ModelImporterAnimationType

GetAnimationType() 공개 정적인 메소드

public static GetAnimationType ( Motion motion ) : ModelImporterAnimationType
motion UnityEngine.Motion
리턴 ModelImporterAnimationType

GetCurrentMouseWorldPosition() 보호된 메소드

protected GetCurrentMouseWorldPosition ( Event evt, Rect previewRect ) : Vector3
evt UnityEngine.Event
previewRect UnityEngine.Rect
리턴 Vector3

HandleMouseDown() 보호된 메소드

protected HandleMouseDown ( Event evt, int id, Rect previewRect ) : void
evt UnityEngine.Event
id int
previewRect UnityEngine.Rect
리턴 void

HandleMouseDrag() 보호된 메소드

protected HandleMouseDrag ( Event evt, int id, Rect previewRect ) : void
evt UnityEngine.Event
id int
previewRect UnityEngine.Rect
리턴 void

HandleMouseUp() 보호된 메소드

protected HandleMouseUp ( Event evt, int id ) : void
evt UnityEngine.Event
id int
리턴 void

HandleViewTool() 보호된 메소드

protected HandleViewTool ( Event evt, EventType eventType, int id, Rect previewRect ) : void
evt UnityEngine.Event
eventType EventType
id int
previewRect UnityEngine.Rect
리턴 void

IsValidPreviewGameObject() 공개 정적인 메소드

public static IsValidPreviewGameObject ( GameObject target, ModelImporterAnimationType requiredClipType ) : bool
target UnityEngine.GameObject
requiredClipType ModelImporterAnimationType
리턴 bool

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

ResetPreviewInstance() 공개 메소드

public ResetPreviewInstance ( ) : void
리턴 void

프로퍼티 상세

fps 공개적으로 프로퍼티

public int fps
리턴 int

m_ViewTool 보호되어 있는 프로퍼티

protected ViewTool m_ViewTool
리턴 ViewTool

timeControl 공개적으로 프로퍼티

public TimeControl timeControl
리턴 TimeControl