Anchor that can be dragged around using controllers/hands when in edit mode.
More...
Anchor that can be dragged around using controllers/hands when in edit mode.
◆ ResetToStartPosition()
| void FMAR.Demos.DraggableAnchors.DraggableAnchor.ResetToStartPosition |
( |
| ) |
|
|
inline |
Resets the anchor to its initial position and rotation.
◆ SetAnchorPositionAndRotation()
| void FMAR.Demos.DraggableAnchors.DraggableAnchor.SetAnchorPositionAndRotation |
( |
FMARAnchor | anchor | ) |
|
|
inline |
Updates the anchor's position and rotation based on the provided FMARAnchor.
- Parameters
-
| anchor | The FMARAnchor containing the new position and rotation. |
◆ SetEditMode()
| void FMAR.Demos.DraggableAnchors.DraggableAnchor.SetEditMode |
( |
bool | isEditMode | ) |
|
|
inline |
Toggles the edit mode state.
- Parameters
-
| isEditMode | True to enable edit mode, false to disable. |
◆ SetGuid()
| void FMAR.Demos.DraggableAnchors.DraggableAnchor.SetGuid |
( |
string | guid | ) |
|
|
inline |
Sets the unique identifier for the anchor.
- Parameters
-
◆ lockedRotation
| Vector3 FMAR.Demos.DraggableAnchors.DraggableAnchor.lockedRotation |
◆ lockRotationX
| bool FMAR.Demos.DraggableAnchors.DraggableAnchor.lockRotationX |
◆ lockRotationY
| bool FMAR.Demos.DraggableAnchors.DraggableAnchor.lockRotationY |
◆ lockRotationZ
| bool FMAR.Demos.DraggableAnchors.DraggableAnchor.lockRotationZ |
◆ onSet
| Action<Vector3, Quaternion> FMAR.Demos.DraggableAnchors.DraggableAnchor.onSet |
◆ AnchorGuid
| string FMAR.Demos.DraggableAnchors.DraggableAnchor.AnchorGuid |
|
get |
◆ IsEditMode
| bool FMAR.Demos.DraggableAnchors.DraggableAnchor.IsEditMode |
|
get |
◆ StringId
| string FMAR.Demos.DraggableAnchors.DraggableAnchor.StringId |
|
get |
The documentation for this class was generated from the following file: