docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KeypointValue

    The value of an individual keypoint on a keypoint component.

    Inheritance
    object
    KeypointValue
    Implements
    IMessageProducer
    ICloneable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Perception.GroundTruth.Labelers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [MovedFrom("UnityEngine.Perception.GroundTruth")]
    public class KeypointValue : IMessageProducer, ICloneable

    Fields

    location

    The location of the keypoint

    Declaration
    public Vector2 location
    Field Value
    Type Description
    Vector2

    Properties

    cameraCartesianLocation

    The cartesian coordinate of the keypoint relative to the camera's coordinate system

    Declaration
    public Vector3 cameraCartesianLocation { get; set; }
    Property Value
    Type Description
    Vector3

    index

    The index of the keypoint in the template file

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

    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
    int

    Methods

    Clone()

    Creates a copy of KeypointValue

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    new KeypointValue

    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
    ICloneable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)