VisualShaderNodeVectorBase
A base type for the nodes that perform vector operations within the visual shader graph.
A base type for the nodes that perform vector operations within the visual shader graph.
This is an abstract class. See the derived types for descriptions of the possible operations.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Properties1
OpTypeProperty
public VisualShaderNodeVectorBase.OpTypeEnum OpType { get; set; }Operation dimension: Vector2D, Vector3D or Vector4D. The concrete subclass determines ports. For VectorDecompose, Vector4D exposes the fourth component at output 3. Recheck existing connections after changing the dimension.
Methods2
GetOpTypeVisualShaderNodeVectorBase.OpTypeEnum
public VisualShaderNodeVectorBase.OpTypeEnum GetOpType();Operation dimension: Vector2D, Vector3D or Vector4D. The concrete subclass determines ports. For VectorDecompose, Vector4D exposes the fourth component at output 3. Recheck existing connections after changing the dimension.
VisualShaderNodeVectorBase.OpTypeEnumSetOpTypevoid
public void SetOpType(VisualShaderNodeVectorBase.OpTypeEnum type);Operation dimension: Vector2D, Vector3D or Vector4D. The concrete subclass determines ports. For VectorDecompose, Vector4D exposes the fourth component at output 3. Recheck existing connections after changing the dimension.
| Name | Type | Default |
|---|---|---|
type | VisualShaderNodeVectorBase.OpTypeEnum | — |
typeVector operation dimension.
VisualShaderNodeVectorBase.OpTypeEnum
| Value | Description |
|---|---|
Max = 3 | Represents the size of the |
Vector2D = 0 | A 2D vector type. |
Vector3D = 1 | A 3D vector type. |
Vector4D = 2 | A 4D vector type. |