프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DarkColor | Color | ||
DisabledColor | Color | ||
ErrorColor | Color | ||
HandleColorAxis | Color | ||
HandleColorCircle | Color | ||
HandleColorRotation | Color | ||
HandleColorSphere | Color | ||
HandleColorSquare | Color | ||
HandleColorTangent | Color | ||
LineVelocityColor | Color | ||
LogoDarkTheme | Texture2D | ||
LogoLightTheme | Texture2D | ||
SectionColor | Color | ||
SuccessColor | Color | ||
WarningColor | Color |
메소드 | 설명 | |
---|---|---|
AddMixedRealityToolkitToScene ( MixedRealityToolkitConfigurationProfile configProfile = null, bool inPlayMode = false ) : void |
If MRTK is not initialized in scene, adds and initializes instance to current scene
|
|
AxisMoveHandle ( |
Draw an axis move handle.
|
|
CenterOnMainWin ( EditorWindow window ) : void |
Centers an editor window on the main display.
|
|
CheckMixedRealityConfigured ( bool renderEditorElements = false ) : bool |
Check and make sure we have a Mixed Reality Toolkit and an active profile.
|
|
CircleMoveHandle ( |
Draw a Circle Move Handle.
|
|
DrawProfileDropDownList ( SerializedProperty property, BaseMixedRealityProfile profile, |
Draws a dropdown with all available profiles of types contained in the array profilyTypes.
|
|
DrawProfileDropDownList ( SerializedProperty property, BaseMixedRealityProfile profile, |
Draws a dropdown with all available profiles of profilyType.
|
|
DrawSubProfileEditor ( |
Draws an editor for a profile object.
|
|
GetDefaultConfigProfile ( ) : MixedRealityToolkitConfigurationProfile |
Returns the default config profile, if it exists.
|
|
GetDefaultConfigProfile ( Array allProfiles ) : MixedRealityToolkitConfigurationProfile |
Given a list of MixedRealityToolkitConfigurationProfile objects, returns the one that matches the default profile name.
|
|
GetEditorMainWindowPos ( ) : Rect |
Found at https://answers.unity.com/questions/960413/editor-window-how-to-center-a-window.html
|
|
RenderMixedRealityToolkitLogo ( ) : void |
Render the Mixed Reality Toolkit Logo.
|
|
RotationHandle ( |
Draw a rotation handle.
|
|
SphereMoveHandle ( |
Draw a sphere move handle.
|
|
SquareMoveHandle ( |
Draw a square move handle.
|
|
VectorHandle ( |
Draw a vector handle.
|
메소드 | 설명 | |
---|---|---|
GetAllDerivedTypes ( AppDomain appDomain, Type aType ) : Type[] |
public static AddMixedRealityToolkitToScene ( MixedRealityToolkitConfigurationProfile configProfile = null, bool inPlayMode = false ) : void | ||
configProfile | MixedRealityToolkitConfigurationProfile | |
inPlayMode | bool | |
리턴 | void |
public static AxisMoveHandle ( |
||
target | ||
origin | Vector3 | The initial position of the axis. |
direction | Vector3 | The direction the axis is facing. |
distance | float | Distance from the axis. |
handleSize | float | Optional handle size. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
recordUndo | bool | Optional, records undo state. |
리턴 | float |
public static CenterOnMainWin ( EditorWindow window ) : void | ||
window | EditorWindow | |
리턴 | void |
public static CheckMixedRealityConfigured ( bool renderEditorElements = false ) : bool | ||
renderEditorElements | bool | |
리턴 | bool |
public static CircleMoveHandle ( |
||
target | ||
position | Vector3 | The position to draw the handle. |
xScale | float | Scale the new value on the x axis by this amount. |
yScale | float | Scale the new value on the x axis by this amount. |
zScale | float | Scale the new value on the x axis by this amount. |
handleSize | float | Optional handle size. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
recordUndo | bool | Optional, records undo state. |
리턴 | Vector3 |
public static DrawProfileDropDownList ( SerializedProperty property, BaseMixedRealityProfile profile, |
||
property | SerializedProperty | |
profile | BaseMixedRealityProfile | |
oldProfileObject | ||
profileTypes | Array | |
requiresProfile | bool | |
showAddButton | bool | |
리턴 | bool |
public static DrawProfileDropDownList ( SerializedProperty property, BaseMixedRealityProfile profile, |
||
property | SerializedProperty | |
profile | BaseMixedRealityProfile | |
oldProfileObject | ||
profileType | Type | |
requiresProfile | bool | |
showAddButton | bool | |
리턴 | bool |
public static DrawSubProfileEditor ( |
||
profileObject | ||
renderProfileInBox | bool | |
리턴 | void |
public static GetDefaultConfigProfile ( ) : MixedRealityToolkitConfigurationProfile | ||
리턴 | MixedRealityToolkitConfigurationProfile |
public static GetDefaultConfigProfile ( Array allProfiles ) : MixedRealityToolkitConfigurationProfile | ||
allProfiles | Array | |
리턴 | MixedRealityToolkitConfigurationProfile |
public static RenderMixedRealityToolkitLogo ( ) : void | ||
리턴 | void |
public static RotationHandle ( |
||
target | ||
position | Vector3 | The position to draw the handle. |
rotation | Quaternion | The rotation to draw the handle. |
handleSize | float | Optional, handle size. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
recordUndo | bool | Optional, records undo state. |
리턴 | Quaternion |
public static SphereMoveHandle ( |
||
target | ||
position | Vector3 | The position to draw the handle. |
xScale | float | Scale the new value on the x axis by this amount. |
yScale | float | Scale the new value on the x axis by this amount. |
zScale | float | Scale the new value on the x axis by this amount. |
handleSize | float | Optional handle size. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
recordUndo | bool | Optional, records undo state. |
리턴 | Vector3 |
public static SquareMoveHandle ( |
||
target | ||
position | Vector3 | The position to draw the handle. |
xScale | float | Scale the new value on the x axis by this amount. |
yScale | float | Scale the new value on the x axis by this amount. |
zScale | float | Scale the new value on the x axis by this amount. |
handleSize | float | Optional handle size. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
recordUndo | bool | Optional, records undo state. |
리턴 | Vector3 |
public static VectorHandle ( |
||
target | ||
origin | Vector3 | |
vector | Vector3 | |
normalize | bool | Optional, Normalize the new vector value. |
clamp | bool | Optional, Clamp new vector's value based on the distance to the origin. |
handleLength | float | Optional, handle length. |
handleSize | float | Optional, handle size. |
recordUndo | bool | Optional, records undo state. |
autoSize | bool | Optional, auto sizes the handles based on position and handle size. |
리턴 | Vector3 |