Class KeypointTemplate
Template used to define the keypoints of a humanoid asset.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Perception.GroundTruth
Syntax
[CreateAssetMenu(fileName = "KeypointTemplate", menuName = "Perception/Keypoint Template", order = 2)]
public class KeypointTemplate : ScriptableObject
Fields
jointTexture
Texture to use for the visualization of the joint.
Declaration
public Texture2D jointTexture
Field Value
| Type | Description |
|---|---|
| Texture2D |
keypoints
Array of KeypointDefinition for the template.
Declaration
[FormerlySerializedAs("keyPoints")]
public KeypointDefinition[] keypoints
Field Value
| Type | Description |
|---|---|
| KeypointDefinition[] |
skeleton
Array of the SkeletonDefinition for the template.
Declaration
public SkeletonDefinition[] skeleton
Field Value
| Type | Description |
|---|---|
| SkeletonDefinition[] |
skeletonTexture
Texture to use for the visualization of the skeletal connection.
Declaration
public Texture2D skeletonTexture
Field Value
| Type | Description |
|---|---|
| Texture2D |
templateID
The Guid of the template
Declaration
public string templateID
Field Value
| Type | Description |
|---|---|
| String |
templateName
The name of the template
Declaration
public string templateName
Field Value
| Type | Description |
|---|---|
| String |