OVRBoneCapsule
()
|
Standard constructor which leaves all fields uninitialized.
Signature
OVRBoneCapsule.OVRBoneCapsule() |
OVRBoneCapsule
(
boneIndex
, capsuleRigidBody
, capsuleCollider
)
|
Constructor that completely initializes the bone capsule instance.
Signature
OVRBoneCapsule.OVRBoneCapsule(short boneIndex, Rigidbody capsuleRigidBody, CapsuleCollider capsuleCollider) Parameters boneIndex: short
Bone index.
capsuleRigidBody: Rigidbody
Bone capsule's rigid body.
|
BoneIndex
: short
[Get][Set] |
The index of the bone that is associated with the current capsule.
When used with hand tracking, use to understand what part of the hand corresponds with this instance's capsule.
Signature
short OVRBoneCapsule.BoneIndex |
CapsuleCollider
: CapsuleCollider
[Get][Set] |
The capsule collider associated with the instance.
Use this to enable, disable or influence the collisions of the bone's capsule.
Signature
CapsuleCollider OVRBoneCapsule.CapsuleCollider |
CapsuleRigidbody
: Rigidbody
[Get][Set] |
The rigidbody of the capsule, which you can use to make the capsule kinematic or not.
Signature
Rigidbody OVRBoneCapsule.CapsuleRigidbody |
Cleanup
()
|
Cleans up physics-based objects associated with bone.
The capsule rigid body's GameObject is destroyed.
Signature
void OVRBoneCapsule.Cleanup() Returns void |