Click or drag to resize

SnapTarget Properties

The SnapTarget type exposes the following members.

Properties
  NameDescription
Public propertyAllowPhysicsWhenSnapped
Should physics be enabled after snapping?
Public propertyAlternativePreviewObject
True if this object has an alternative preview
Public propertyHasAlternativePreview
True if this object has an alternative preview
Public propertyIsOccupied
Returns true if a TransformSync is already snapped to this target
Public propertyOccupiedBy
The transform that is currently snapped
Public propertyOnSnap
An event that is triggered when a TransformSync is snapped or unsnapped
Public propertyOverridingTransformSyncTolerances
Whether or not to override the tolerance settings for the transform sync that snaps to this target
Public propertyReparentWhenSnapped
Should the TransformSync move to the same parent when snapping?
Public propertyRequirements
Requirements that need to be met before snapping to this target is allowed
Public propertyRotationAxis
Rotation Axis filter
Public propertySnappingDistanceTolerance
Custom override of snapping distance tolerance
Public propertySnappingRotationTolerance
Custom override of snapping rotation tolerance
Top
See Also