RotationToVector: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
Voltaism (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|Converts the given rotation into XYZ vectors.}}
{{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|The point at X axis.}}
{{FuncParam|rx|The rotation at X axis.}}
{{FuncParam|y|The point at Y axis.}}
{{FuncParam|ry|The rotation at Y axis.}}
{{FuncParam|z|The point at Z axis.}}
{{FuncParam|rz|The rotation at Z axis.}}


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


== Example ==
== Example ==

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