docs.unity3d.com
    Show / Hide Table of Contents

    Class KeypointOcclusionOverrides

    When attached to a model used by the KeypointLabeler overrides the distance values for each keypoint defined in KeypointTemplate by multiplying them by this overrideDistanceScale scalar. The values in KeypointTemplate are generally set for a typical adult model, which makes it so that these values do not meet the needs of models with different body types (i.e. children, different heights, different weights). Changing the value of the scalar will help to get keypoint occlusion working properly for these models. A value of 1.0 will use the template values as is.

    Inheritance
    Object
    KeypointOcclusionOverrides
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class KeypointOcclusionOverrides : MonoBehaviour

    Fields

    distanceScale

    Declaration
    public float distanceScale
    Field Value
    Type Description
    Single
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023