Difference between revisions of "DOMSceneDocument"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMSceneDocument class)
 
(Documentation for the DOMSceneDocument class)
Line 4: Line 4:
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMSceneDocument Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMSceneDocument Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
{{#ifexist:DOMSceneDocument Remarks|{{:DOMSceneDocument Remarks}}|}}
 
{{#ifexist:DOMSceneDocument Remarks|{{:DOMSceneDocument Remarks}}|}}
 +
 +
===Properties===
 +
:{{CSharp|ResourceValue SkyboxBack {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the back of the skybox when in image mode
 +
 +
:{{CSharp|Color32 SkyboxColor {get; set;} }}
 +
::
 +
::The light's color
 +
 +
:{{CSharp|ResourceValue SkyboxDown {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the bottom of the skybox when in image mode
 +
 +
:{{CSharp|float SkyboxExposure {get; set;} }}
 +
::
 +
::The skybox's image exposure
 +
 +
:{{CSharp|ResourceValue SkyboxFront {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the front of the skybox when in image mode
 +
 +
:{{CSharp|ResourceValue SkyboxLeft {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the left of the skybox when in image mode
 +
 +
:{{CSharp|DOMSkyboxMode SkyboxMode {get; set;} }}
 +
::
 +
::Specifies the way in which the scene skybox should be overridden
 +
 +
:{{CSharp|ResourceValue SkyboxRight {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the right of the skybox when in image mode
 +
 +
:{{CSharp|float SkyboxRotation {get; set;} }}
 +
::
 +
::The skybox's rotation
 +
 +
:{{CSharp|ResourceValue SkyboxUp {get; set;} }}
 +
::
 +
::A JPG or PNG resource for the top of the skybox when in image mode
  
 
===Constructors===
 
===Constructors===

Revision as of 18:40, 5 March 2018

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

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