Class JointLabel
Label to designate a custom joint/keypoint. These are needed to add body parts to a humanoid model that are not contained in its Animator Avatar
These label's can also be applied to the keypoints found in the Avatar to override the self occlusion tolerance values defined in the KeypointTemplate file. The KeypointTemplate defines the typical tolerances for a model, but certain models may need to have specific overrides on a keypoint for the self occlusion to work properly.
Implements
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
[AddComponentMenu("Perception/Labeling/Joint Label")]
[Serializable]
public class JointLabel : MonoBehaviour, ISerializationCallbackReceiver
Fields
labels
List of all of the templates that this joint can be mapped to.
Declaration
[SerializeField]
public List<string> labels
Field Value
Type | Description |
---|---|
List<string> |
overrideSelfOcclusionDistance
Whether selfOcclusionDistance should be used instead of the one specified in the KeypointTemplate.
Declaration
public bool overrideSelfOcclusionDistance
Field Value
Type | Description |
---|---|
bool |
selfOcclusionDistance
Whether selfOcclusionDistance should be used instead of the one specified in the KeypointTemplate.
Declaration
public float selfOcclusionDistance
Field Value
Type | Description |
---|---|
float |