Constructor
new NodeVarying( name : string, type : string, interpolationType : string, interpolationSampling : string )
Constructs a new node varying.
name |
The name of the varying. |
type |
The type of the varying. |
interpolationType |
The interpolation type of the varying. |
interpolationSampling |
The interpolation sampling type of the varying. |
Properties
.interpolationSampling : string
The interpolation sampling type of varying data.
Default is null.
.interpolationType : string
The interpolation type of the varying data.
Default is null.
.isNodeVarying : boolean (readonly)
This flag can be used for type testing.
Default is true.
.needsInterpolation : boolean
Whether this varying requires interpolation or not. This property can be used
to check if the varying can be optimized for a variable.
Default is false.