DOMRenderable

From Virtual World Web Wiki
Jump to: navigation, search

Represents a renderable object: something with a mesh that can be displayed in the scene

Remarks [edit]

Properties

string AnimationName {get; set;}
Sets the name of an animation to play.
string[] AnimatorAnimList {get; set;}
Obsolete. This stuff's on DOMAnimationController now.
BlendShapeInfo[] AppliedBlendShapes {get; set;}
Yet more blendshape configuration...
string[] BlendShapeNames {get; set;}
Blendshape configuration
string[] BlendShapes {get; set;}
Blendshape configuration
Point3D BoundsCenter {get; set;}
Specified the offset of this object's bounds
bool CamPassable {get; set;}
True if the camera should be able to pass through this object
bool CastShadows {get; set;}
True if this renderable game object should cast shadows
bool GravityEnabled {get; set;}
True if gravity should be enabled for this object (it should have a RigidBody, but only fall and then stop)
bool IsSkeleton {get; set;}
True if this object represents a skeleton (root of an animatable object)
bool LightProbes {get; set;}
True if light probes should affect this object's lighting
ResourceValue LoadingEffect {get; set;}
The ResourceValue of an object to render in this object's place while resources specified in this object and its children are being prepared. It's best if this resource is small and downloads quickly and is shared by many objects so it can be cached. Even better is to ship your client with some kind of built-in loading resource and reference it here using the internal:// uri scheme.
float[] LODCutOffs {get; set;}
The distances in units at which the LODs apply
bool PhysicsEnabled {get; set;}
True if physics should be enabled for this object (it should have a RigidBody)
bool PivotReset {get; set;}
True if the pivot of the renderable object should be forced to zero
bool ReceiveShadows {get; set;}
True if this renderable game object should receiveShadows
string ResourceName {get; set;}
The name of the resource within the assetbundle if applicable
ResourceValue ResourceUri {get; set;}
The ResourceValue of the renderable model. Generally a Unity3D assetbundle or an OBJ.

Constructors

DOMRenderable()
Constructs a new DOMRenderable with default settings
DOMRenderable(DOMObject[] children)
Constructs a new DOMRenderable, adding children at the same time
DOMRenderable(string title, DOMObject[] children)
Constructs a new DOMRenderable, setting a title and adding children at the same time