VisualEnvironmentState
Summary
Constructors
| VisualEnvironmentState() |
| VisualEnvironmentState(name: string) |
Properties
| Name | Type |
|---|---|
| entityName | string |
| visibility | float |
| priority | int |
| overrideVisibility | bool |
| excluded | bool |
| activeEffectPosition | Vec3 |
| stateId | int |
| outdoorLight | OutdoorLightData | nil |
| enlighten | EnlightenData | nil |
| tonemap | TonemapData | nil |
| colorCorrection | ColorCorrectionData | nil |
| sky | SkyData | nil |
| fog | FogData | nil |
| wind | WindData | nil |
| sunFlare | SunFlareData | nil |
| dynamicAO | DynamicAOData | nil |
| dof | DofData | nil |
| vignette | VignetteData | nil |
| filmGrain | FilmGrainData | nil |
| lensScope | LensScopeData | nil |
| cameraParams | CameraParamsData | nil |
| screenEffect | ScreenEffectData | nil |
| damageEffect | DamageEffectData | nil |
| planarReflection | PlanarReflectionData | nil |
| dynamicEnvmap | DynamicEnvmapData | nil |
| characterLighting | CharacterLightingData | nil |
| motionBlur | MotionBlurData | nil |
| debug | DebugData | nil |
| shaderParams | ShaderParamsData{} |
Methods
| Method | Returns |
|---|---|
| AddShaderParams(params: ShaderParamsData) | void |
| RemoveShaderParamsAt(index: int) | void |
Operators
| Operator | Rhs | Returns |
|---|---|---|
| == | VisualEnvironmentState | bool |
Constructors
VisualEnvironmentState
VisualEnvironmentState()
VisualEnvironmentState
VisualEnvironmentState(name: string)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Properties
entityName
string
visibility
float
priority
int
overrideVisibility
bool
excluded
bool
activeEffectPosition
stateId
int
outdoorLight
OutdoorLightData | nil
enlighten
EnlightenData | nil
tonemap
TonemapData | nil
colorCorrection
ColorCorrectionData | nil
sky
SkyData | nil
fog
FogData | nil
wind
WindData | nil
sunFlare
SunFlareData | nil
dynamicAO
DynamicAOData | nil
dof
DofData | nil
vignette
VignetteData | nil
filmGrain
FilmGrainData | nil
lensScope
LensScopeData | nil
cameraParams
CameraParamsData | nil
screenEffect
ScreenEffectData | nil
damageEffect
DamageEffectData | nil
planarReflection
PlanarReflectionData | nil
dynamicEnvmap
DynamicEnvmapData | nil
characterLighting
CharacterLightingData | nil
motionBlur
MotionBlurData | nil
debug
DebugData | nil
shaderParams
Methods
AddShaderParams
AddShaderParams(params: ShaderParamsData)
Parameters
| Name | Type | Description |
|---|---|---|
| params | ShaderParamsData |
RemoveShaderParamsAt
RemoveShaderParamsAt(index: int)
Parameters
| Name | Type | Description |
|---|---|---|
| index | int |
Operators
operator==
operator==(rhs: VisualEnvironmentState): bool
Parameters
| Name | Type | Description |
|---|---|---|
| rhs | VisualEnvironmentState |
Returns
| Type | Description |
|---|---|
| bool |
Last modified October 9, 2022: Update changelog for 19549 (507929a4)