EffectParams

Summary

Constructors

EffectParams()

Properties

Name Type
size int

Methods

Method Returns
SetBool(name: string, value: bool) void
SetInt(name: string, value: int) void
SetFloat(name: string, value: float) void
SetVec4(name: string, value: Vec4) void
GetBool(name: string) bool
GetInt(name: string) int
GetFloat(name: string) float
GetVec4(name: string) Vec4
HasBool(name: string) bool
HasInt(name: string) bool
HasFloat(name: string) bool
HasVec4(name: string) bool

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

Type Description
bool

GetInt

GetInt(name: string): int

Parameters

Name Type Description
name string

Returns

Type Description
int

GetFloat

GetFloat(name: string): float

Parameters

Name Type Description
name string

Returns

Type Description
float

GetVec4

GetVec4(name: string): Vec4

Parameters

Name Type Description
name string

Returns

Type Description
Vec4

HasBool

HasBool(name: string): bool

Parameters

Name Type Description
name string

Returns

Type Description
bool

HasInt

HasInt(name: string): bool

Parameters

Name Type Description
name string

Returns

Type Description
bool

HasFloat

HasFloat(name: string): bool

Parameters

Name Type Description
name string

Returns

Type Description
bool

HasVec4

HasVec4(name: string): bool

Parameters

Name Type Description
name string

Returns

Type Description
bool
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)