Class Skeleton2D.SkeletonObject
骨格表示オブジェクト
Inheritance
System.Object
Skeleton2D.SkeletonObject
Namespace: TofAr.V0.Tof
Assembly: TofArTofAssembly.dll
Syntax
protected class SkeletonObject
Constructors
SkeletonObject(SkeletonBone2D)
Boneで初期化
Declaration
public SkeletonObject(SkeletonBone2D bone)
Parameters
Type | Name | Description |
---|---|---|
SkeletonBone2D | bone | Bone |
SkeletonObject(SkeletonJoint2D)
Jointで初期化
Declaration
public SkeletonObject(SkeletonJoint2D joint)
Parameters
Type | Name | Description |
---|---|---|
SkeletonJoint2D | joint | Joint |
Properties
z
JointもしくはBoneのZ位置
Declaration
public float z { get; }
Property Value
Type |
---|
System.Single |
Methods
SetActive(Boolean)
JointもしくはBoneをアクティブ/非アクティブにする
Declaration
public void SetActive(bool active)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | active | アクティブ/非アクティブ |
SetAsFirstSibling()
JointもしくはBoneをローカルで一番最初の順番になるよう移動する
Declaration
public void SetAsFirstSibling()