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
SynthesizedAlignment
Inherited Members
Namespace: Unity.MARS.Data.Synthetic
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.mars@1.5/manual/ReferenceGuideSyntheticData.html#synthesized-alignment-synthesizedalignment")]
[MovedFrom("Unity.MARS.Data")]
public class SynthesizedAlignment : SynthesizedTrait<int>, ISimulatable, ISynthesizedData, IProvidesTraits<int>, IProvidesTraits
Properties
TraitName
Declaration
public override string TraitName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
UpdateWithTransform
Declaration
public override bool UpdateWithTransform { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Methods
GetTraitData()
Declaration
public override int GetTraitData()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Unity.MARS.Data.Synthetic.SynthesizedTrait<System.Int32>.GetTraitData()