Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
SRenderSettings (SScript sScript) | |
void | SetGlobalShaderTexture (string name, SResource dir) |
Set a global texture property for all shaders. More... | |
void | SetGlobalShaderFloat (string name, float dir) |
Set a global float property for all shaders. More... | |
void | SetGlobalShaderColor (string name, SColor dir) |
Set a global color property for all shaders. More... | |
void | SetGlobalShaderVector (string name, SVector dir) |
Set a global vector property for all shaders. More... | |
void | SetGlobalShaderVector (string name, SVector dir, float direction) |
Properties | |
int | DefaultReflectionResolution [get, set] |
Cubemap resolution for default reflection More... | |
SMaterial | Skybox [get, set] |
The global skybox to use. More... | |
float | FlareFadeSpeed [get, set] |
The fade speed of all flares in the Scene More... | |
float | FlareStrength [get, set] |
The intensity of all flares in the Scene More... | |
float | HaloStrength [get, set] |
Size of the light halos More... | |
int | ReflectionBounces [get, set] |
The number of times a reflection includes other reflections More... | |
float | ReflectionIntensity [get, set] |
How much the skybox / custom cubemap reflection affects the Scene. More... | |
SColor | SubtractiveShadowColor [get, set] |
The color used for the sun shadows in the Subtractive light mode. More... | |
float | AmbientIntensity [get, set] |
How much the light from the Ambient Source affects the Scene. More... | |
SColor | AmbientLight [get, set] |
Flat ambient lighting color. More... | |
SColor | AmbientGroundColor [get, set] |
Ambient lighting coming from below. More... | |
SColor | AmbientEquatorColor [get, set] |
Ambient lighting coming from the sides. More... | |
SColor | AmbientSkyColor [get, set] |
Ambient lighting coming from above. More... | |
SAmbientMode | AmbientMode [get, set] |
Ambient lighting mode More... | |
float | FogEndDistance [get, set] |
The ending distance of linear fog. More... | |
float | FogStartDistance [get, set] |
The starting distance of linear fog. More... | |
float | FogDensity [get, set] |
The density of the exponential fog. More... | |
SColor | FogColor [get, set] |
The color of the fog. More... | |
SFogMode | FogMode [get, set] |
Ambient lighting mode More... | |
bool | Fog [get, set] |
The color of the fog. More... | |
float | AmbientSkyboxAmount [get, set] |
SDefaultReflectionMode | DefaultReflectionMode [get, set] |
Ambient lighting mode More... | |
SineSpace.Scripting.RenderSettings.SRenderSettings.SRenderSettings | ( | SScript | sScript | ) |
void SineSpace.Scripting.RenderSettings.SRenderSettings.SetGlobalShaderColor | ( | string | name, |
SColor | dir | ||
) |
Set a global color property for all shaders.
name | The name of the property. |
dir | The color you want to set. |
void SineSpace.Scripting.RenderSettings.SRenderSettings.SetGlobalShaderFloat | ( | string | name, |
float | dir | ||
) |
Set a global float property for all shaders.
name | The name of the property. |
dir | The float you want to set. |
void SineSpace.Scripting.RenderSettings.SRenderSettings.SetGlobalShaderTexture | ( | string | name, |
SResource | dir | ||
) |
Set a global texture property for all shaders.
name | The name of the property. |
dir | The texture you want to set. |
void SineSpace.Scripting.RenderSettings.SRenderSettings.SetGlobalShaderVector | ( | string | name, |
SVector | dir | ||
) |
Set a global vector property for all shaders.
name | The name of the property. |
dir | The vector you want to set. |
void SineSpace.Scripting.RenderSettings.SRenderSettings.SetGlobalShaderVector | ( | string | name, |
SVector | dir, | ||
float | direction | ||
) |
|
getset |
Ambient lighting coming from the sides.
|
getset |
Ambient lighting coming from below.
|
getset |
How much the light from the Ambient Source affects the Scene.
|
getset |
Flat ambient lighting color.
|
getset |
|
getset |
|
getset |
Ambient lighting coming from above.
|
getset |
|
getset |
Cubemap resolution for default reflection
|
getset |
The fade speed of all flares in the Scene
|
getset |
The intensity of all flares in the Scene
|
getset |
The color of the fog.
|
getset |
The color of the fog.
|
getset |
The density of the exponential fog.
|
getset |
The ending distance of linear fog.
|
getset |
Ambient lighting mode
|
getset |
The starting distance of linear fog.
|
getset |
Size of the light halos
|
getset |
The number of times a reflection includes other reflections
|
getset |
How much the skybox / custom cubemap reflection affects the Scene.
|
getset |
The global skybox to use.
|
getset |
The color used for the sun shadows in the Subtractive light mode.