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
[MovedFrom("Unity.MARS.Data")]
public class SynthesizedAlignment : SynthesizedTrait<int>, ISimulatable, 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()