Skip to content

MarkerCreateOptions

@vimp-mp/types 2.0.1

Interface · Client API

Initial state applied when creating a client-local marker.

ts
interface MarkerCreateOptions

Members

color

ts
color?: { a: number; b: number; g: number; r: number }

RGBA marker colour. Defaults to opaque white.

dimension

ts
dimension?: number

Local-only virtual dimension marker. Default: 0.

faceCamera

ts
faceCamera?: boolean

Native DRAW_MARKER faceCamera flag. Default: false.

rotate

ts
rotate?: boolean

Native DRAW_MARKER rotate flag. Default: false.

rotation

ts
rotation?: Vec3

Marker rotation in degrees. Defaults to zero on every axis.

scale

ts
scale?: number

Uniform marker scale. Default: 1.

visible

ts
visible?: boolean

Whether the marker is drawn. Defaults to true.

VIMP developer documentation