Class ScenePlacementModule.PlacementOverrideData
Overrides to the ScenePlacementModule
based on the PlacementOverride
of the dragged object.
Inherited Members
Namespace: UnityEditor.MARS.Authoring
Assembly: Unity.MARS.Editor.dll
Syntax
public class ScenePlacementModule.PlacementOverrideData
Properties
axisOverride
Object's axis orient override
Declaration
public AxisEnum axisOverride { get; }
Property Value
Type | Description |
---|---|
AxisEnum |
axisOverrideVector
Vector of the object's axis override
Declaration
public Vector3 axisOverrideVector { get; }
Property Value
Type | Description |
---|---|
Vector3 |
orientToSurfaceOverride
Object's orient to surface override
Declaration
public bool orientToSurfaceOverride { get; }
Property Value
Type | Description |
---|---|
bool |
snapToPivotOverride
Object's pivot override behavior
Declaration
public bool snapToPivotOverride { get; }
Property Value
Type | Description |
---|---|
bool |
useAxisOverride
Use the object's orient to surface override
Declaration
public bool useAxisOverride { get; }
Property Value
Type | Description |
---|---|
bool |
useOrientToSurfaceOverride
Use the object's orient to surface override
Declaration
public bool useOrientToSurfaceOverride { get; }
Property Value
Type | Description |
---|---|
bool |
useSnapToPivotOverride
Use the object's pivot override
Declaration
public bool useSnapToPivotOverride { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
ResetData()
Reset the PlacementOverrideData
's object to default value
Declaration
public void ResetData()
SetOverrideData(PlacementOverride)
Set the override data to the object's PlacementOverride
Declaration
public void SetOverrideData(PlacementOverride overrides)
Parameters
Type | Name | Description |
---|---|---|
PlacementOverride | overrides |