Skip to main content

DrawCirclePulse2Options

Description of DrawCirclePulse2Options table

note

This structure is not exported to Lua. The draw functions using this as parameter are expecting Lua table containing certain properties as described on this page.

Properties

renderStage: RenderStage

Which render stage this will be rendered at. See more at RenderStage page.
Default: RenderStage.World

isTranslucent: boolean

Translucent drawings are using alpha blending and never write to depth buffer, but they can read from it.
Translucent drawings are rendered after opaque ones.
Default: true

isUsingDepth: boolean

When using depth, this drawing will appear immersive in the game world and will become occluded by walls, grass, champions, etc where applicable.
Default: true

isUsingHeightMap: boolean

When using Height Map, this drawing's mesh vertices will be projected on the terrain.
Default: true

isCulling: boolean

When culling (true), this drawing's mesh backface will be not rendered. When false - both frontface and backface will be rendered.
This can be useful for translucent rotating drawings. For better performance please keep it enabled, unless you need the opposite.
Default: true

rotation: Vector3

Rotation Vector3 containing yaw, pitch and roll.
Default: Math.Vector3(0, 0, 0)

sortOrder: number

A number used in sorting algorithm. This can be useful to change the order in which this drawings appears compared to others, both in 2D (UI) and 3D (World) rendering.
Default: 10. Most other drawings in LS Core use sort order between 0 and 2.

speed: number - float

Pulse animation speed.
Default: 2.5

rippleFactor: number - float

Pulse ripple factor used in the shader.
Default: 2.0

centerFactor: number - float

Pulse center factor used in the shader.
Default: 8.0