VisualShaderNodeBillboard
A node that controls how the object faces the camera to be used within the visual shader graph.
A node that controls how the object faces the camera to be used within the visual shader graph.
The output port of this node needs to be connected to Model View Matrix port of VisualShaderNodeOutput.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VisualShaderNodeBillboardConstructor
public VisualShaderNodeBillboard();Properties2
BillboardTypeProperty
public VisualShaderNodeBillboard.BillboardTypeEnum BillboardType { get; set; }Controls how the object faces the camera.
KeepScaleProperty
public bool KeepScale { get; set; }If true, the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding.
Methods4
GetBillboardTypeVisualShaderNodeBillboard.BillboardTypeEnum
public VisualShaderNodeBillboard.BillboardTypeEnum GetBillboardType();VisualShaderNodeBillboard.BillboardTypeEnumIsKeepScaleEnabledbool
public bool IsKeepScaleEnabled();boolSetBillboardTypevoid
public void SetBillboardType(VisualShaderNodeBillboard.BillboardTypeEnum billboardType);| Name | Type | Default |
|---|---|---|
billboardType | VisualShaderNodeBillboard.BillboardTypeEnum | — |
SetKeepScaleEnabledvoid
public void SetKeepScaleEnabled(bool enabled);| Name | Type | Default |
|---|---|---|
enabled | bool | — |
VisualShaderNodeBillboard.BillboardTypeEnum
| Value | Description |
|---|---|
Disabled = 0 | Billboarding is disabled and the node does nothing. |
Enabled = 1 | A standard billboarding algorithm is enabled. |
FixedY = 2 | A billboarding algorithm to rotate around Y-axis is enabled. |
Max = 4 | Represents the size of the |
Particles = 3 | A billboarding algorithm designed to use on particles is enabled. |