MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetDirection

Function GetDirection

Source/Engine/Level/Actor.h:553–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551 /// Gets actor direction vector (forward vector).
552 /// </summary>
553 API_PROPERTY(Attributes="HideInEditor, NoSerialize") FORCE_INLINE Float3 GetDirection() const
554 {
555 return Float3::Transform(Float3::Forward, GetOrientation());
556 }
557
558 /// <summary>
559 /// Sets actor direction vector (forward)

Callers 6

DrawMethod · 0.85
SpotLightMethod · 0.85
UpdateBoundsMethod · 0.85
OnDebugDrawSelectedMethod · 0.85
DrawLightsDebugMethod · 0.85
ConvertMouseToRayMethod · 0.85

Calls 2

GetOrientationFunction · 0.85
TransformClass · 0.50

Tested by

no test coverage detected