Houdini 17.0 Nodes VOP nodes

Class Cast VOP node

Downcasts a generic (anonymous) co-shader object to a specific co-shader

On this page

Overview

The Class Cast node allows specifying a concrete co-shader class for the generic co-shader handles passed to the shader. This allows some other VOPs to access information about the concrete class. For example, a Method Call VOP can query the co-shader for the available methods that can be invoked on the co-shader object.

The list of available types appearing in the parameter menu contains all types available currently in the Houdini session.

Parameters

Co-Shader Type

The type name of a co-shader class to cast to.

Inputs

Co-Shader

The co-shader object whose type needs explicit conversion cast.

Outputs

Co-Shader

The converted co-shader object. The wires connected to this output will carry extra information about the co-shader type the input has been cast to. This information is used by other VOPs, such as Method Call, but does not have bearing on the generated code otherwise.

VOP nodes