GetMarkerDirection: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Gets the direction (dir) of a marker created with CreateMarker. {{CSharpContainer| {{#tag:pre|Vector3 {{Template:CSharp_Serverside_namespace}}Marker.GetMarkerDirection(Ne...")
 
(Fix small mistake)
 
Line 8: Line 8:


{{Returns}}
{{Returns}}
*'''Vector3:''' The scale of the marker.
*'''Vector3:''' The direction of the marker.
   
   
{{Example}}
{{Example}}

Latest revision as of 16:24, 13 December 2019

Gets the direction (dir) of a marker created with CreateMarker.


C# Syntax

Vector3 NAPI.Marker.GetMarkerDirection(NetHandle marker);

Parameters

  • marker: Parameter input should be in NetHandle type.

Returns

  • Vector3: The direction of the marker.

Example

NAPI.Marker.GetMarkerDirection(marker);