DOMSceneDocument

From Virtual World Web Wiki
Jump to: navigation, search

Represents the contents of the scene that are loaded into an instance at run-time. This node will be a direct child of a DOMInstanceDocument, and has DOMLayerDocuments and other run-time instantiated nodes as children.

Remarks [edit]

Properties

bool AllowFlyCam {get; set;}
Decides whether or not FlyCam is allowed outside of Editting.
float FarClip {get; set;}
Maximum draw distance from the camera (in meters)
float MaxFoV {get; set;}
Maximum Field of View for cameras in this room
float NearClip {get; set;}
Minimum draw distance from the camera (in meters)
float ShadowDistance {get; set;}
Overrides the max shadow distance
DOMShadowMode ShadowMode {get; set;}
Overrides the allowed shadow modes
DOMShadowProjection ShadowProjection {get; set;}
Overrides the shadow projection
DOMShadowResolution ShadowResolution {get; set;}
Overrides the shadow resolution
ResourceValue SkyboxBack {get; set;}
A JPG or PNG resource for the back of the skybox when in image mode
Color32 SkyboxColor {get; set;}
The light's color
ResourceValue SkyboxDown {get; set;}
A JPG or PNG resource for the bottom of the skybox when in image mode
float SkyboxExposure {get; set;}
The skybox's image exposure
ResourceValue SkyboxFront {get; set;}
A JPG or PNG resource for the front of the skybox when in image mode
ResourceValue SkyboxLeft {get; set;}
A JPG or PNG resource for the left of the skybox when in image mode
DOMSkyboxMode SkyboxMode {get; set;}
Specifies the way in which the scene skybox should be overridden
ResourceValue SkyboxRight {get; set;}
A JPG or PNG resource for the right of the skybox when in image mode
float SkyboxRotation {get; set;}
The skybox's rotation
ResourceValue SkyboxUp {get; set;}
A JPG or PNG resource for the top of the skybox when in image mode

Constructors

DOMSceneDocument(DOMObject[] children)
Constructs a new DOMSceneDocument, adding children at the same time
DOMSceneDocument(string title, DOMObject[] children)
Constructs a new DOMSceneDocument, setting a title and adding children at the same time