docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct KeypointAnnotationDefinition.SkeletonDefinition

    A struct defining a bone connection in a keypoint skeleton.

    Implements
    IMessageProducer
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Perception.GroundTruth.Labelers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [Serializable]
    public struct KeypointAnnotationDefinition.SkeletonDefinition : IMessageProducer

    Fields

    color

    The color of this bone.

    Declaration
    public Color color
    Field Value
    Type Description
    Color

    joint1

    The id of the first joint connection of this bone.

    Declaration
    public int joint1
    Field Value
    Type Description
    int

    joint2

    The id of the second joint connection of this bone.

    Declaration
    public int joint2
    Field Value
    Type Description
    int

    Methods

    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
    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)