Back to Three Js

BitcastNode

docs/pages/BitcastNode.html

latest909 B
Original Source

Constructor

new BitcastNode( valueNode : Node, conversionType : string, inputType : string )

Constructs a new bitcast node.

| valueNode |

The value to convert.

| | conversionType |

The type to convert to.

| | inputType |

The expected input data type of the bitcast operation.

Default is null.

|

Properties

.conversionType : string

The type the value will be converted to.

.inputType : string

The expected input data type of the bitcast operation.

Default is null.

.isBitcastNode : boolean (readonly)

This flag can be used for type testing.

Default is true.

.valueNode : Node

The data to bitcast to a new type.

Source

src/nodes/math/BitcastNode.js