docs.unity3d.com
    Show / Hide Table of Contents

    Class SynthesizedPose

    Create the data for a pose trait When added to a synthesized object, adds a pose in the form of the GameObject's world position to its representation in the database

    Inheritance
    Object
    SynthesizedTrait
    SynthesizedTrait<Pose>
    SynthesizedPose
    Inherited Members
    SynthesizedTrait<Pose>.k_ProvidedTraits
    SynthesizedTrait<Pose>.GetProvidedTraits()
    SynthesizedTrait<Pose>.AddTrait(Int32)
    SynthesizedTrait<Pose>.UpdateTrait(Int32)
    SynthesizedTrait<Pose>.RemoveTrait(Int32)
    SynthesizedTrait.SynthesizedObject
    SynthesizedTrait.HasValidValue
    SynthesizedTrait.Awake()
    SynthesizedTrait.OnEnable()
    SynthesizedTrait.OnDisable()
    SynthesizedTrait.TryAdd()
    SynthesizedTrait.TryRemove()
    Namespace: Unity.MARS.Data.Synthetic
    Syntax
    public class SynthesizedPose : SynthesizedTrait<Pose>, ISimulatable, ISynthesizedData, IProvidesTraits<Pose>, IProvidesTraits, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>

    Properties

    TraitName

    Declaration
    public override string TraitName { get; }
    Property Value
    Type Description
    String
    Overrides
    SynthesizedTrait.TraitName

    UpdateWithTransform

    Declaration
    public override bool UpdateWithTransform { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    SynthesizedTrait.UpdateWithTransform

    Methods

    GetTraitData()

    Declaration
    public override Pose GetTraitData()
    Returns
    Type Description
    Pose
    Overrides
    Unity.MARS.Data.Synthetic.SynthesizedTrait<Pose>.GetTraitData()

    Extension Methods

    IProvidesTraitsMethods.AddOrUpdateTrait<T>(IProvidesTraits<T>, Int32, String, T)
    IProvidesTraitsMethods.RemoveTrait<T>(IProvidesTraits<T>, Int32, String)
    IUsesCameraOffsetMethods.GetCameraPositionOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraPositionOffset(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.GetCameraYawOffset(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraYawOffset(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraScale(IUsesCameraOffset)
    IUsesCameraOffsetMethods.SetCameraScale(IUsesCameraOffset, Single)
    IUsesCameraOffsetMethods.GetCameraOffsetMatrix(IUsesCameraOffset)
    IUsesCameraOffsetMethods.ApplyOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPose(IUsesCameraOffset, Pose)
    IUsesCameraOffsetMethods.ApplyOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToPosition(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToDirection(IUsesCameraOffset, Vector3)
    IUsesCameraOffsetMethods.ApplyOffsetToRotation(IUsesCameraOffset, Quaternion)
    IUsesCameraOffsetMethods.ApplyInverseOffsetToRotation(IUsesCameraOffset, Quaternion)
    CameraOffsetExtensions.PoseToCameraSpace(IUsesCameraOffset, Pose, Vector3)
    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