Class Marker
Inherited Members
WorldObject.deleteMeta
WorldObject.hasMeta
WorldObject.getMeta
WorldObject.setMeta
WorldObject.deleteSyncedMeta
WorldObject.setSyncedMeta
WorldObject.type
WorldObject.valid
WorldObject.id
WorldObject.destroy
WorldObject.getMetaDataKeys
WorldObject.getSyncedMeta
WorldObject.hasSyncedMeta
WorldObject.getSyncedMetaKeys
WorldObject.refCount
Module: alt-server
Package: @altmp/altv-types
Syntax
class Marker extends WorldObject
Constructors
| Improve this Doc View SourceMarker(MarkerType, Vector3, RGBA)
Declaration
public Marker(type: MarkerType, position: Vector3, color: RGBA): Marker
Parameters
Type | Name | Description |
---|---|---|
MarkerType | type | |
Vector3 | position | |
RGBA | color |
Properties
| Improve this Doc View Sourceall
Declaration
public readonly static all: readonly Marker[]
Property Value
Type | Description |
---|---|
readonly Marker[] |
visible
Declaration
public visible: boolean
Property Value
Type | Description |
---|---|
boolean |
markerType
Declaration
public markerType: MarkerType
Property Value
Type | Description |
---|---|
MarkerType |
color
Declaration
public color: RGBA
Property Value
Type | Description |
---|---|
RGBA |
scale
Declaration
public scale: Vector3
Property Value
Type | Description |
---|---|
Vector3 |
rot
Declaration
public rot: Vector3
Property Value
Type | Description |
---|---|
Vector3 |
dir
Declaration
public dir: Vector3
Property Value
Type | Description |
---|---|
Vector3 |
isGlobal
Declaration
public readonly isGlobal: boolean
Property Value
Type | Description |
---|---|
boolean |
target
Declaration
public readonly target: Player
Property Value
Type | Description |
---|---|
Player |
faceCamera
Declaration
public faceCamera: boolean
Property Value
Type | Description |
---|---|
boolean |
Methods
| Improve this Doc View SourcegetByID(number)
Declaration
public static getByID(id: number): null | Marker
Parameters
Type | Name | Description |
---|---|---|
number | id |
Returns
Type | Description |
---|---|
null | Marker |