Skip to main content

Interface: MaterialInstance

Properties

name

readonly name: string

Defined in

src/types/MaterialInstance.ts:21

Methods

changeAlpha()

changeAlpha(alpha): void

Parameters

alpha: number

Returns

void

Defined in

src/types/MaterialInstance.ts:10


getFloat3Parameter()

getFloat3Parameter(name): Float3

Parameters

name: string

Returns

Float3

Defined in

src/types/MaterialInstance.ts:19


getFloat4Parameter()

getFloat4Parameter(name): Float4

Parameters

name: string

Returns

Float4

Defined in

src/types/MaterialInstance.ts:20


getFloatParameter()

getFloatParameter(name): number

Parameters

name: string

Returns

number

Defined in

src/types/MaterialInstance.ts:16


getIntParameter()

getIntParameter(name): number

Parameters

name: string

Returns

number

Defined in

src/types/MaterialInstance.ts:17


getMat3fParameter()

getMat3fParameter(name): Mat3f

Parameters

name: string

Returns

Mat3f

Defined in

src/types/MaterialInstance.ts:18


setCullingMode()

setCullingMode(mode): void

Parameters

mode: CullingMode

Returns

void

Defined in

src/types/MaterialInstance.ts:8


setFloat3Parameter()

setFloat3Parameter(name, vector): void

Parameters

name: string

vector: Float3

Returns

void

Defined in

src/types/MaterialInstance.ts:14


setFloat4Parameter()

setFloat4Parameter(name, vector): void

Parameters

name: string

vector: Float4

Returns

void

Defined in

src/types/MaterialInstance.ts:15


setFloatParameter()

setFloatParameter(name, value): void

Parameters

name: string

value: number

Returns

void

Defined in

src/types/MaterialInstance.ts:11


setIntParameter()

setIntParameter(name, value): void

Parameters

name: string

value: number

Returns

void

Defined in

src/types/MaterialInstance.ts:12


setMat3fParameter()

setMat3fParameter(name, value): void

Parameters

name: string

value: Mat3f

Returns

void

Defined in

src/types/MaterialInstance.ts:13


setTransparencyMode()

setTransparencyMode(mode): void

Parameters

mode: TransparencyMode

Returns

void

Defined in

src/types/MaterialInstance.ts:9