RotationToVector: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
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.
 
https://docs.unrealengine.com/en-US/API/Runtime/Engine/Kismet/UKismetMathLibrary/Conv_RotatorToVector/index.html}}


{{FuncSyntax|RotationToVector(x, y, z)}}
{{FuncSyntax|RotationToVector(x, y, z)}}
Line 10: Line 12:
{{FuncParam|z|The point at Z axis.}}
{{FuncParam|z|The point at Z axis.}}


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


== Example ==
== Example ==

Revision as of 15:43, 30 August 2020

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(x, y, z)

Parameters

  • x
    The point at X axis.
  • y
    The point at Y axis.
  • z
    The point at Z axis.

Return Value

  • Returns 3 float values, X, Y, Z

Example

__EDIT_ME__

See also