Class KeypointTemplate
Template used to define the keypoints of a humanoid asset.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Perception.GroundTruth
Assembly: Unity.Perception.Runtime.dll
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[] |
occludedJointColor
Color to use for the visualization of an occluded joint.
Declaration
public Color occludedJointColor
Field Value
Type | Description |
---|---|
Color |
occludedJointTexture
Texture to use for the visualization of an occluded joint.
Declaration
public Texture2D occludedJointTexture
Field Value
Type | Description |
---|---|
Texture2D |
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 |