Class SynthesizedAlignment | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class SynthesizedAlignment

    Creates the data for a plane alignment trait When added to a synthesized object, adds an alignment based on the game object's rotation

    Inheritance
    Object
    SynthesizedTrait
    SynthesizedTrait<Int32>
    SynthesizedAlignment
    Inherited Members
    SynthesizedTrait<Int32>.k_ProvidedTraits
    SynthesizedTrait<Int32>.GetProvidedTraits()
    SynthesizedTrait<Int32>.AddTrait(Int32)
    SynthesizedTrait<Int32>.UpdateTrait(Int32)
    SynthesizedTrait<Int32>.RemoveTrait(Int32)
    Namespace: Unity.MARS.Data
    Syntax
    public class SynthesizedAlignment : SynthesizedTrait<int>, ISimulatable, IProvidesTraits<int>, IProvidesTraits

    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 int GetTraitData()
    Returns
    Type Description
    Int32
    Overrides
    Unity.MARS.Data.SynthesizedTrait<System.Int32>.GetTraitData()

    Extension Methods

    IProvidesTraitsMethods.AddOrUpdateTrait<T>(IProvidesTraits<T>, Int32, String, T)
    IProvidesTraitsMethods.RemoveTrait<T>(IProvidesTraits<T>, Int32, String)
    Back to top
    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