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..."
 
Voltaism (talk | contribs)
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|__EDIT_ME__}}
{{FuncDescription|Converts the given rotation into XYZ vectors.


{{FuncSyntax|RotationToVector(x, y, z)}}
https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html}}
 
{{FuncSyntax|RotationToVector(rx, ry, rz)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|rx|The rotation at X axis.}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|ry|The rotation at Y axis.}}
{{FuncParam|z|__EDIT_ME__}}
{{FuncParam|rz|The rotation at Z axis.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns 3 float values, X, Y, Z}}


== Example ==
== Example ==
Line 16: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[VectorToRotation]]

Latest revision as of 08:56, 9 July 2021

RotationToVector

Type: Function
Context: Client
Introduced: v1.0

Description

Converts the given rotation into XYZ vectors.

https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html

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__

See also