Table of Contents

Class VisualShaderNodeBillboard

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

Inheritance
VisualShaderNodeBillboard

Remarks

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

Properties

billboard_type

Controls how the object faces the camera. See BillboardType.

var billboard_type : int = 1

Property Value

int

Remarks

  • void set_billboard_type(int value)
  • int get_billboard_type

keep_scale

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

var keep_scale : bool = false

Property Value

bool

Remarks

  • void set_keep_scale_enabled(bool value)
  • bool is_keep_scale_enabled