Class Marker
Inheritance
BaseObject
Marker
Inherited Members
WorldObject.type
WorldObject.valid
WorldObject.id
WorldObject.destroy
WorldObject.getMetaDataKeys
WorldObject.getSyncedMeta
WorldObject.hasSyncedMeta
WorldObject.getSyncedMetaKeys
WorldObject.refCount
Package: @altmp/altv-types
Syntax
class Marker extends WorldObject
Constructors
|
Improve this Doc
View Source
Marker(MarkerType, Vector3, RGBA)
Declaration
public Marker(type: MarkerType, position: Vector3, color: RGBA): Marker
Parameters
|
Improve this Doc
View Source
Marker(MarkerType, Vector3, RGBA, true, number)
Declaration
public Marker(type: MarkerType, position: Vector3, color: RGBA, useStreaming: true, streamingDistance: number): Marker
Parameters
Type |
Name |
Description |
MarkerType |
type |
|
Vector3 |
position |
|
RGBA |
color |
|
true |
useStreaming |
|
number |
streamingDistance |
|
Properties
|
Improve this Doc
View Source
all
Declaration
public readonly static all: readonly Marker[]
Property Value
Type |
Description |
readonly Marker[] |
|
|
Improve this Doc
View Source
visible
Declaration
Property Value
|
Improve this Doc
View Source
markerType
Declaration
public markerType: MarkerType
Property Value
|
Improve this Doc
View Source
color
Declaration
Property Value
|
Improve this Doc
View Source
scale
Declaration
Property Value
|
Improve this Doc
View Source
rot
Declaration
Property Value
|
Improve this Doc
View Source
dir
Declaration
Property Value
|
Improve this Doc
View Source
isGlobal
Declaration
public readonly isGlobal: boolean
Property Value
|
Improve this Doc
View Source
target
Declaration
public readonly target: Player
Property Value
|
Improve this Doc
View Source
streamingDistance
Declaration
public readonly streamingDistance: number
Property Value
|
Improve this Doc
View Source
isStreamedIn
Declaration
public readonly isStreamedIn: boolean
Property Value
|
Improve this Doc
View Source
faceCamera
Declaration
public faceCamera: boolean
Property Value
|
Improve this Doc
View Source
rotate
Declaration
Property Value
|
Improve this Doc
View Source
bobUpAndDown
Declaration
public bobUpAndDown: boolean
Property Value
Methods
|
Improve this Doc
View Source
getByID(number)
Declaration
public static getByID(id: number): null | Marker
Parameters
Type |
Name |
Description |
number |
id |
|
Returns
Type |
Description |
null | Marker |
|