docs.unity3d.com
    Show / Hide Table of Contents

    Class KeypointValue

    The value of an individual keypoint on a keypoint component.

    Inheritance
    Object
    KeypointValue
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class KeypointValue : object, IMessageProducer, ICloneable

    Fields

    location

    The location of the keypoint

    Declaration
    public Vector2 location
    Field Value
    Type Description
    Vector2

    Properties

    index

    The index of the keypoint in the template file

    Declaration
    public int index { get; set; }
    Property Value
    Type Description
    Int32

    state

    The state of the point, 0 = not present, 1 = keypoint is present but not visible, 2 = keypoint is present and visible

    Declaration
    public int state { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    Clone()

    Declaration
    public object Clone()
    Returns
    Type Description
    Object

    ToMessage(IMessageBuilder)

    Convert contents int a message.

    Declaration
    public void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder

    The message builder that will convert the class's contents into a message

    Implements
    IMessageProducer.ToMessage(IMessageBuilder)
    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