C# Class Spine.Unity.Editor.SpineHandles

Mostrar archivo Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Public Methods

Method Description
DrawBone ( Transform transform, Bone b, float boneScale ) : void
DrawBoneNames ( Transform transform, Skeleton skeleton ) : void
DrawBoneWireframe ( Transform transform, Bone b, Color color ) : void
DrawBones ( Transform transform, Skeleton skeleton ) : void
DrawBoundingBox ( Slot slot, BoundingBoxAttachment box, Transform t ) : void
DrawBoundingBoxes ( Transform transform, Skeleton skeleton ) : void
DrawConstraints ( Transform transform, Skeleton skeleton ) : void
DrawPath ( Slot s, PathAttachment p, Transform t, bool includeName ) : void
DrawPaths ( Transform transform, Skeleton skeleton ) : void

Private Methods

Method Description
DrawArrowhead ( Matrix4x4 m ) : void
DrawArrowhead2D ( Vector3 pos, float localRotation, float scale = 1f ) : void
DrawBoneCircle ( Vector3 pos, Color outlineColor, Vector3 normal, float scale = 1f ) : void
DrawCrosshairs ( Vector3 position, float scale, float a, float b, float c, float d, Transform transform ) : void
DrawCrosshairs2D ( Vector3 position, float scale ) : void
DrawCubicBezier ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3 ) : void
GetBoneWireBuffer ( Matrix4x4 m ) : UnityEngine.Vector3[]

Method Details

DrawBone() public static method

public static DrawBone ( Transform transform, Bone b, float boneScale ) : void
transform UnityEngine.Transform
b Spine.Bone
boneScale float
return void

DrawBoneNames() public static method

public static DrawBoneNames ( Transform transform, Skeleton skeleton ) : void
transform UnityEngine.Transform
skeleton Spine.Skeleton
return void

DrawBoneWireframe() public static method

public static DrawBoneWireframe ( Transform transform, Bone b, Color color ) : void
transform UnityEngine.Transform
b Spine.Bone
color UnityEngine.Color
return void

DrawBones() public static method

public static DrawBones ( Transform transform, Skeleton skeleton ) : void
transform UnityEngine.Transform
skeleton Spine.Skeleton
return void

DrawBoundingBox() public static method

public static DrawBoundingBox ( Slot slot, BoundingBoxAttachment box, Transform t ) : void
slot Spine.Slot
box Spine.BoundingBoxAttachment
t UnityEngine.Transform
return void

DrawBoundingBoxes() public static method

public static DrawBoundingBoxes ( Transform transform, Skeleton skeleton ) : void
transform UnityEngine.Transform
skeleton Spine.Skeleton
return void

DrawConstraints() public static method

public static DrawConstraints ( Transform transform, Skeleton skeleton ) : void
transform UnityEngine.Transform
skeleton Spine.Skeleton
return void

DrawPath() public static method

public static DrawPath ( Slot s, PathAttachment p, Transform t, bool includeName ) : void
s Spine.Slot
p Spine.PathAttachment
t UnityEngine.Transform
includeName bool
return void

DrawPaths() public static method

public static DrawPaths ( Transform transform, Skeleton skeleton ) : void
transform UnityEngine.Transform
skeleton Spine.Skeleton
return void