Most visited

Recently visited

Node.TransformBehavior

public static final enum Node.TransformBehavior
extends Enum<Node.TransformBehavior>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.Node.TransformBehavior>
     ↳ com.viro.core.Node.TransformBehavior


TransformBehaviors change the way a Node computes its position, rotation and scale. Multiple TransformBehaviors can be attached to a Node at once.

Summary

Enum values

Node.TransformBehavior  BILLBOARD

Swivels the Node about both the X and Y axes to face the user. 

Node.TransformBehavior  BILLBOARD_X

Swivels the Node about its X axis to face the user. 

Node.TransformBehavior  BILLBOARD_Y

Swivels the Node about its Y axis to face the user. 

Public methods

static Node.TransformBehavior valueOf(String name)
static final TransformBehavior[] values()

Enum values

BILLBOARD

Node.TransformBehavior BILLBOARD

Swivels the Node about both the X and Y axes to face the user. When this is set, the Node will ignore its X and Y axis rotation.

BILLBOARD_X

Node.TransformBehavior BILLBOARD_X

Swivels the Node about its X axis to face the user. The Node's Y axis rotation will remain unchanged.

BILLBOARD_Y

Node.TransformBehavior BILLBOARD_Y

Swivels the Node about its Y axis to face the user. The Node's X axis rotation will remain unchanged.

Public methods

valueOf

Node.TransformBehavior valueOf (String name)

Parameters
name String

Returns
Node.TransformBehavior

values

TransformBehavior[] values ()

Returns
TransformBehavior[]

Hooray!