Kanzi  3.9.4
Java API
Node3D.RenderMode Enum Reference

Rendering mode for the node. More...

Inheritance diagram for Node3D.RenderMode:
[legend]

Public Member Functions

 RenderMode (int value)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

static RenderMode toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 Custom =(2)
 Custom rendering mode. More...
 
 Default =(1)
 Default rendering model. More...
 
 None =(0)
 Node is not renderable.
 

Detailed Description

Rendering mode for the node.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static RenderMode toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ Custom

Custom =(2)

Custom rendering mode.

Custom render function must be called.

◆ Default

Default =(1)

Default rendering model.

Node provides the vertex and index buffers and materials, does not have custom rendering.