Interface IBoneGizmoView
Syntax
public interface IBoneGizmoView
Methods
CanLayout()
Declaration
Returns
Type |
Description |
System.Boolean |
|
CanRepaint()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool DoBonePosition(Transform boneTransform, out Vector3 deltaPosition)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
Vector3 |
deltaPosition |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool DoBoneRotation(Transform boneTransform, out float deltaAngle)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
System.Single |
deltaAngle |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool DoSelection(Transform boneTransform, out BoneGizmoSelectionMode mode)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
void DrawBone(Transform boneTransform, float length, float alpha)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
System.Single |
length |
|
System.Single |
alpha |
|
Declaration
void DrawParentBoneLink(Transform boneTransform, float parentLength, Color color)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
System.Single |
parentLength |
|
Color |
color |
|
GetHandleSize(Vector3)
Declaration
float GetHandleSize(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
Type |
Description |
System.Single |
|
Declaration
bool IsActionActive(Transform boneTransform, BoneGizmoAction action)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool IsActionHot(Transform boneTransform, BoneGizmoAction action)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsActionHot(BoneGizmoAction)
Declaration
bool IsActionHot(BoneGizmoAction action)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool IsBoneVisible(Transform boneTransform, float length, float alpha)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
System.Single |
length |
|
System.Single |
alpha |
|
Returns
Type |
Description |
System.Boolean |
|
IsVisible(Vector3)
Declaration
bool IsVisible(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
void LayoutBone(Transform boneTransform, float length)
Parameters
Type |
Name |
Description |
Transform |
boneTransform |
|
System.Single |
length |
|
SetupLayout()
Declaration