MarkerCreateOptions
@vimp-mp/types 2.0.1Interface · Client API
Initial state applied when creating a client-local marker.
ts
interface MarkerCreateOptionsMembers
color
ts
color?: { a: number; b: number; g: number; r: number }RGBA marker colour. Defaults to opaque white.
dimension
ts
dimension?: numberLocal-only virtual dimension marker. Default: 0.
faceCamera
ts
faceCamera?: booleanNative DRAW_MARKER faceCamera flag. Default: false.
rotate
ts
rotate?: booleanNative DRAW_MARKER rotate flag. Default: false.
rotation
ts
rotation?: Vec3Marker rotation in degrees. Defaults to zero on every axis.
scale
ts
scale?: numberUniform marker scale. Default: 1.
visible
ts
visible?: booleanWhether the marker is drawn. Defaults to true.