Difference between revisions of "DOMSceneDocument"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMSceneDocument class)
 
(Documentation for the DOMSceneDocument class)
 
(3 intermediate revisions by the same user not shown)
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|bool AllowFlyCam {get; set;} }}
 +
::
 +
::Decides whether or not FlyCam is allowed outside of Editting.
 +
 +
:{{CSharp|float FarClip {get; set;} }}
 +
::
 +
::Maximum draw distance from the camera (in meters)
 +
 +
:{{CSharp|float MaxFoV {get; set;} }}
 +
::
 +
::Maximum Field of View for cameras in this room
 +
 +
:{{CSharp|float NearClip {get; set;} }}
 +
::
 +
::Minimum draw distance from the camera (in meters)
 +
 +
:{{CSharp|float ShadowDistance {get; set;} }}
 +
::
 +
::Overrides the max shadow distance
 +
 +
:{{CSharp|DOMShadowMode ShadowMode {get; set;} }}
 +
::
 +
::Overrides the allowed shadow modes
 +
 +
:{{CSharp|DOMShadowProjection ShadowProjection {get; set;} }}
 +
::
 +
::Overrides the shadow projection
 +
 +
:{{CSharp|DOMShadowResolution ShadowResolution {get; set;} }}
 +
::
 +
::Overrides the shadow resolution
 +
 +
:{{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===

Latest revision as of 14:14, 18 January 2019

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