Most visited

Recently visited

Node.DragType

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

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


Specifies the behavior of dragging if the Node has an attached DragListener.

Summary

Enum values

Node.DragType  FIXED_DISTANCE

Dragging is limited to a fixed radius around the user. 

Node.DragType  FIXED_TO_WORLD

Dragging is based on intersection with real-world object. 

Public methods

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

Enum values

FIXED_DISTANCE

Node.DragType FIXED_DISTANCE

Dragging is limited to a fixed radius around the user. That is, as you drag a Node around, it never changes its distance from the user: it stays fixed as though you are dragging the Node around the inner surface of sphere.

FIXED_TO_WORLD

Node.DragType FIXED_TO_WORLD

Dragging is based on intersection with real-world object. This is only available in AR. This setting is used when ou wish to drag a Node off a table and onto the ground, for example.

Public methods

valueOf

Node.DragType valueOf (String name)

Parameters
name String

Returns
Node.DragType

values

DragType[] values ()

Returns
DragType[]

Hooray!