Difference between revisions of "DOMSceneDocument"
From Virtual World Web Wiki
(Documentation for the DOMSceneDocument class) |
(Documentation for the DOMSceneDocument class) |
||
Line 6: | Line 6: | ||
===Properties=== | ===Properties=== | ||
+ | :{{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|ResourceValue SkyboxBack {get; set;} }} | :{{CSharp|ResourceValue SkyboxBack {get; set;} }} | ||
:: | :: |
Revision as of 14:41, 20 April 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.
- Inherits class: DOMDocument
Remarks [edit]
Properties
- 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)
- 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