Difference between revisions of "DOMSceneDocument"
From Virtual World Web Wiki
(Documentation for the DOMSceneDocument class) |
(Documentation for the DOMSceneDocument class) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
===Properties=== | ===Properties=== | ||
+ | :{{CSharp|bool AllowFlyCam {get; set;} }} | ||
+ | :: | ||
+ | ::Decides whether or not FlyCam is allowed outside of Editting. | ||
+ | |||
:{{CSharp|float FarClip {get; set;} }} | :{{CSharp|float FarClip {get; set;} }} | ||
:: | :: | ||
Line 17: | Line 21: | ||
:: | :: | ||
::Minimum draw distance from the camera (in meters) | ::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;} }} | :{{CSharp|ResourceValue SkyboxBack {get; set;} }} |
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.
- Inherits class: DOMDocument
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