This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
MutablePose3D
Mutable version of Pose3D.
Summary
Inheritance
Inherits from:
Pose3D
Public functions
|
Set(Vector3 position, Quaternion orientation)
|
new void
Sets the position and orientation from a Vector3 + Quaternion.
|
Set(Matrix4x4 matrix)
|
new void
Sets the position and orientation from a Matrix4x4.
|
SetRightHanded(Matrix4x4 matrix)
|
void
Sets the position and orientation from a right-handed Matrix4x4.
|
Public functions
Set
new void Set(
Vector3 position,
Quaternion orientation
)
Sets the position and orientation from a Vector3 + Quaternion.
Details |
Parameters |
position
|
The position to set.
|
orientation
|
The orientation to set.
|
|
Set
new void Set(
Matrix4x4 matrix
)
Sets the position and orientation from a Matrix4x4.
Details |
Parameters |
matrix
|
The matrix to set.
|
|
SetRightHanded
void SetRightHanded(
Matrix4x4 matrix
)
Sets the position and orientation from a right-handed Matrix4x4.
Details |
Parameters |
matrix
|
The right-handed matrix to set.
|
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eMutablePose3D is a mutable version of Pose3D, allowing for modification of its position and orientation.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the Pose3D class, providing access to its functionalities.\u003c/p\u003e\n"],["\u003cp\u003eMutablePose3D offers public functions to set its values using Vector3, Quaternion, or Matrix4x4 representations.\u003c/p\u003e\n"],["\u003cp\u003eThe SetRightHanded function specifically handles setting the pose from a right-handed Matrix4x4.\u003c/p\u003e\n"]]],["`MutablePose3D` allows modification of position and orientation, inheriting from `Pose3D`. It provides methods to set these properties: `Set(Vector3 position, Quaternion orientation)` sets the position and orientation using a `Vector3` and `Quaternion`. `Set(Matrix4x4 matrix)` sets them using a `Matrix4x4`. `SetRightHanded(Matrix4x4 matrix)` sets them using a right-handed `Matrix4x4`. These methods enable updating the pose's spatial properties directly.\n"],null,["# MutablePose3D Class Reference\n\nMutablePose3D\n=============\n\nMutable version of [Pose3D](/vr/reference/unity/class/Pose3D#classPose3D).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [Pose3D](/vr/reference/unity/class/Pose3D)\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|\n| [Set](#classMutablePose3D_1a40edcb4d180b80b21fb87093856ecd9e)`(Vector3 position, Quaternion orientation)` | `new void` Sets the position and orientation from a Vector3 + Quaternion. |\n| [Set](#classMutablePose3D_1a1a7f030d38b71bfa469d9b9d1605132b)`(Matrix4x4 matrix)` | `new void` Sets the position and orientation from a Matrix4x4. |\n| [SetRightHanded](#classMutablePose3D_1ac41e3171bb3fcabe16839894fb187fc9)`(Matrix4x4 matrix)` | `void` Sets the position and orientation from a right-handed Matrix4x4. |\n\nPublic functions\n----------------\n\n### Set\n\n```c#\nnew void Set(\n Vector3 position,\n Quaternion orientation\n)\n``` \nSets the position and orientation from a Vector3 + Quaternion.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |---------------|-------------------------| | `position` | The position to set. | | `orientation` | The orientation to set. | |\n\n### Set\n\n```c#\nnew void Set(\n Matrix4x4 matrix\n)\n``` \nSets the position and orientation from a Matrix4x4.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|---------------------------------------------------------------------|\n| Parameters | |----------|--------------------| | `matrix` | The matrix to set. | |\n\n### SetRightHanded\n\n```c#\nvoid SetRightHanded(\n Matrix4x4 matrix\n)\n``` \nSets the position and orientation from a right-handed Matrix4x4.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-----------------------------------------------------------------------------------------------|\n| Parameters | |----------|---------------------------------| | `matrix` | The right-handed matrix to set. | |"]]