Class reference

VisualShaderNodeBillboard

Inherits VisualShaderNode

A node that controls how the object faces the camera to be used within the visual shader graph.

Description

The output port of this node needs to be connected to Model View Matrix port of VisualShaderNodeOutput.

Properties

int billboard_type = 1

Controls how the object faces the camera.

bool keep_scale = false

If true, the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding.

Constants

BILLBOARD_TYPE_DISABLED = 0

Enum: BillboardType

Billboarding is disabled and the node does nothing.

BILLBOARD_TYPE_ENABLED = 1

Enum: BillboardType

A standard billboarding algorithm is enabled.

BILLBOARD_TYPE_FIXED_Y = 2

Enum: BillboardType

A billboarding algorithm to rotate around Y-axis is enabled.

BILLBOARD_TYPE_PARTICLES = 3

Enum: BillboardType

A billboarding algorithm designed to use on particles is enabled.

BILLBOARD_TYPE_MAX = 4

Enum: BillboardType

Represents the size of the BillboardType enum.

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.