Component image ![](/images/thumb/a/a7/MirrorTransformComponent.png/510px-MirrorTransformComponent.png)
Mirror Transform component as seen in the Scene Inspector
![](/images/thumb/a/a7/MirrorTransformComponent.png/510px-MirrorTransformComponent.png)
The Mirror Transform drives the position of the slot to mirror the position of an inputted slot across the normal of a plane.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
MirrorSource
|
Slot | The slot to get the mirror data from. |
MirrorPlane
|
Slot | The slot to use as the position to mirror across. |
MirrorOffset
|
Float3 | An offset from the MirrorPlane to mirror across.
|
MirrorNormal
|
Float3 | The direction to mirror from. |
AllowWriteBack
|
Bool | Whether to allow changing the target fields of _position or _rotation to change the position and rotation of MirrorSource .
|
_position
|
field drive of Float3 | The position field to drive with the mirrored mirror data. Usually the Position field of the slot this component is on. |
_rotation
|
field drive of FloatQ | The rotation field to drive with the mirrored mirror data. Usually the Rotation field of the slot this component is on. |
Usage
Attach to a slot and provide MirrorSource
, MirrorPlane
, and MirrorNormal
for this component to start working.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.