Most visited

Recently visited

Object3D.Type

public static final enum Object3D.Type
extends Enum<Object3D.Type>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.Object3D.Type>
     ↳ com.viro.core.Object3D.Type


Supported model formats for loading into an Object3D.

Summary

Enum values

Object3D.Type  FBX

FBX model format. 

Object3D.Type  OBJ

OBJ model format. 

Public methods

static Object3D.Type valueOf(String name)
static final Type[] values()

Enum values

FBX

Object3D.Type FBX

FBX model format. FBX files need to be converted to VRX via the ViroFBX script. Textures should reside in the same folder as the VRX file. This format supports skeletal and keyframe animation, and diffuse, specular, and normal maps.

OBJ

Object3D.Type OBJ

OBJ model format. MTL files are also supported. MTL and textures should reside in the same folder as the OBJ file. This format supports diffuse, specular, and normal maps.

Public methods

valueOf

Object3D.Type valueOf (String name)

Parameters
name String

Returns
Object3D.Type

values

Type[] values ()

Returns
Type[]

Hooray!