API reference
API reference
Select your platform
No SDKs available
No versions available

SkeletonDebugGizmos Class

Draws debug gizmos representing a body skeleton.
Oculus::Interaction::Body::SkeletonDebugGizmos extends MonoBehaviour.

Overview

Public Types

enum
VisibilityFlags {
}

Properties

float
Radius[Get]
VisibilityFlags
Color
Color
float
bool

Object Data

abstract bool
TryGetWorldJointPose
( BodyJointId jointId,
out Pose pose )
abstract bool
TryGetParentJointId
( BodyJointId jointId,
out BodyJointId parent )
void
Draw
( BodyJointId joint,
VisibilityFlags visibility )

Details

Detailed Description

Joint positions, bones, and joint orientation axes can be drawn, and the visuals sized and colorized as desired. There are two implementations of SkeletonDebugGizmos provided, <cref="BodyDebugGizmos" /> and <cref="BodyPoseDebugGizmos" />.

Member Enumerations

enum Oculus::Interaction::Body::SkeletonDebugGizmos.VisibilityFlags
Enumerator
Joints
= 1 << 0
Axes
= 1 << 1
Bones
= 1 << 2

Properties

float Oculus.Interaction.Body.SkeletonDebugGizmos.Radius
No description available.
VisibilityFlags Oculus.Interaction.Body.SkeletonDebugGizmos.Visibility
No description available.
Color Oculus.Interaction.Body.SkeletonDebugGizmos.JointColor
No description available.
Color Oculus.Interaction.Body.SkeletonDebugGizmos.BoneColor
No description available.
float Oculus.Interaction.Body.SkeletonDebugGizmos.LineWidth
No description available.
bool Oculus.Interaction.Body.SkeletonDebugGizmos.HasNegativeScale
No description available.

Object Data

abstract bool Oculus.Interaction.Body.SkeletonDebugGizmos.TryGetWorldJointPose
( BodyJointId jointId,
out Pose pose )
No description available.
abstract bool Oculus.Interaction.Body.SkeletonDebugGizmos.TryGetParentJointId
( BodyJointId jointId,
out BodyJointId parent )
No description available.
void Oculus.Interaction.Body.SkeletonDebugGizmos.Draw
( BodyJointId joint,
VisibilityFlags visibility )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon