Automatic shader prop for the dimensions of the Node being rendered

Shader's who's rendering depends on the dimensions of the Node being rendered should extend this interface from their Prop interface type.

interface DimensionsShaderProp {
    $dimensions?: Dimensions;
}

Hierarchy (view full)

Properties

Properties

$dimensions?: Dimensions

Dimensions of the Node being rendered (Auto-set by the renderer)

DO NOT SET THIS. It is set automatically by the renderer. Any values set here will be ignored.