RotationToVector: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|RotationToVector(x, y, z)}} {{FuncParameters}} {{FuncParam|x|__EDIT_ME__}} {{FuncParam|y|__EDIT_ME..." |
mNo edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Converts the given rotation into XYZ vectors. | ||
{{FuncSyntax|RotationToVector( | https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html}} | ||
{{FuncSyntax|RotationToVector(rx, ry, rz)}} | |||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam| | {{FuncParam|rx|The rotation at X axis.}} | ||
{{FuncParam| | {{FuncParam|ry|The rotation at Y axis.}} | ||
{{FuncParam| | {{FuncParam|rz|The rotation at Z axis.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns 3 float values, X, Y, Z}} | ||
== Example == | == Example == | ||
Line 16: | Line 18: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[VectorToRotation]] |
Latest revision as of 08:56, 9 July 2021
Description
Converts the given rotation into XYZ vectors.
Syntax
RotationToVector(rx, ry, rz)
Parameters
- rx
The rotation at X axis. - ry
The rotation at Y axis. - rz
The rotation at Z axis.
Return Value
- Returns 3 float values, X, Y, Z
Example
__EDIT_ME__