EffectParams
Summary
Constructors
Properties
Methods
Constructors
EffectParams
EffectParams()
Properties
size
int
Methods
SetBool
SetBool(name: string, value: bool)
Parameters
Name |
Type |
Description |
name |
string |
|
value |
bool |
|
SetInt
SetInt(name: string, value: int)
Parameters
Name |
Type |
Description |
name |
string |
|
value |
int |
|
SetFloat
SetFloat(name: string, value: float)
Parameters
Name |
Type |
Description |
name |
string |
|
value |
float |
|
SetVec4
SetVec4(name: string, value: Vec4)
Parameters
Name |
Type |
Description |
name |
string |
|
value |
Vec4 |
|
GetBool
GetBool(name: string): bool
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
GetInt
GetInt(name: string): int
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
GetFloat
GetFloat(name: string): float
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
GetVec4
GetVec4(name: string): Vec4
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
HasBool
HasBool(name: string): bool
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
HasInt
HasInt(name: string): bool
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
HasFloat
HasFloat(name: string): bool
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
HasVec4
HasVec4(name: string): bool
Parameters
Name |
Type |
Description |
name |
string |
|
Returns