PushMaterial

Description

class PushMaterial extends Material

Constructor

new PushMaterial(name, scene)

Parameters

Name Type Description
name string
scene Scene

Methods

getEffect() Effect

isReady(mesh, useInstances) boolean

Parameters

Name Type Description
optional mesh AbstractMesh
optional useInstances boolean

bindOnlyWorldMatrix(world) void

Parameters

Name Type Description
world Matrix

bind(world, mesh) void

Parameters

Name Type Description
world Matrix
optional mesh Mesh