VisualEnvironmentManager
Summary
Methods
Method | Returns |
---|---|
GetStates() | VisualEnvironmentState[] |
GetDirty() | bool |
SetDirty(dirty: bool) | void |
GetSunRotationX() | float |
SetSunRotationX(rotation: float) | void |
GetSunRotationY() | float |
SetSunRotationY(rotation: float) | void |
GetSunRotationOffsetX() | float |
SetSunRotationOffsetX(rotation: float) | void |
GetSunRotationOffsetY() | float |
SetSunRotationOffsetY(rotation: float) | void |
AddState(state: VisualEnvironmentState) | void |
RemoveState(state: VisualEnvironmentState) | void |
Methods
GetStates
GetStates(): VisualEnvironmentState[]
Returns
Type | Description |
---|---|
VisualEnvironmentState[] |
GetDirty
GetDirty(): bool
Returns
Type | Description |
---|---|
bool |
SetDirty
SetDirty(dirty: bool)
Parameters
Name | Type | Description |
---|---|---|
dirty | bool |
GetSunRotationX
GetSunRotationX(): float
Returns
Type | Description |
---|---|
float |
SetSunRotationX
SetSunRotationX(rotation: float)
Parameters
Name | Type | Description |
---|---|---|
rotation | float |
GetSunRotationY
GetSunRotationY(): float
Returns
Type | Description |
---|---|
float |
SetSunRotationY
SetSunRotationY(rotation: float)
Parameters
Name | Type | Description |
---|---|---|
rotation | float |
GetSunRotationOffsetX
GetSunRotationOffsetX(): float
Returns
Type | Description |
---|---|
float |
SetSunRotationOffsetX
SetSunRotationOffsetX(rotation: float)
Parameters
Name | Type | Description |
---|---|---|
rotation | float |
GetSunRotationOffsetY
GetSunRotationOffsetY(): float
Returns
Type | Description |
---|---|
float |
SetSunRotationOffsetY
SetSunRotationOffsetY(rotation: float)
Parameters
Name | Type | Description |
---|---|---|
rotation | float |
AddState
AddState(state: VisualEnvironmentState)
Parameters
Name | Type | Description |
---|---|---|
state | VisualEnvironmentState |
RemoveState
RemoveState(state: VisualEnvironmentState)
Parameters
Name | Type | Description |
---|---|---|
state | VisualEnvironmentState |
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)