Chunks
Moddable voxel sandbox for room-scale VR.
Properties | Events | List of all members
Chunks.Graphics.LightingSettings Class Reference
Inheritance diagram for Chunks.Graphics.LightingSettings:
Chunks.Plugins.PluginResource

Properties

float FogNearRatio [get, set]
 
float FogFarRatio [get, set]
 
Color FogColor [get, set]
 
Color AmbientColor [get, set]
 
float SkyboxAtmosphereThickness [get, set]
 
float SkyboxExposure [get, set]
 
float SkyboxSunSize [get, set]
 
Vector SunAngles [get, set]
 
Color SkyBoxTintColor [get, set]
 
Color SkyBoxGroundColor [get, set]
 
- Properties inherited from Chunks.Plugins.PluginResource
Plugin Plugin [get]
 Plugin this resource was loaded from. More...
 
ResourceName Name [get]
 Name of this resource. More...
 

Events

WorldLightingChangedHanlder Changed
 

Additional Inherited Members

- Public Member Functions inherited from Chunks.Plugins.PluginResource
override string ToString ()
 Returns the fully qualified name of this resource. More...
 
- Public Attributes inherited from Chunks.Plugins.PluginResource
bool IsValid => Plugin == null || Plugin.IsLoaded
 
- Protected Member Functions inherited from Chunks.Plugins.PluginResource
 PluginResource ()
 
void AssertIsValid ()
 
virtual void OnInitialize ()
 
virtual void OnReadDefinition (JToken token, string directory)
 When overridden in an inheriting class, handles reading information about the resource from a json token. Base implementation populates any properties decorated with a JsonPropertyAttribute. More...
 
ResourceName GetResourceName (JToken token)
 Converts a json token to a resource name, associating it with the current namespace. Only valid from within OnReadDefinition. More...
 
ResourceName GetResourceName (JToken token, ResourceName @default)
 Converts a json token to a resource name, associating it with the current namespace. Only valid from within OnReadDefinition. If the token is null, default is used. More...
 

Property Documentation

Color Chunks.Graphics.LightingSettings.AmbientColor
getset
Color Chunks.Graphics.LightingSettings.FogColor
getset
float Chunks.Graphics.LightingSettings.FogFarRatio
getset
float Chunks.Graphics.LightingSettings.FogNearRatio
getset
float Chunks.Graphics.LightingSettings.SkyboxAtmosphereThickness
getset
float Chunks.Graphics.LightingSettings.SkyboxExposure
getset
Color Chunks.Graphics.LightingSettings.SkyBoxGroundColor
getset
float Chunks.Graphics.LightingSettings.SkyboxSunSize
getset
Color Chunks.Graphics.LightingSettings.SkyBoxTintColor
getset
Vector Chunks.Graphics.LightingSettings.SunAngles
getset

Event Documentation

WorldLightingChangedHanlder Chunks.Graphics.LightingSettings.Changed

The documentation for this class was generated from the following file: