MultiMaterial class

class MultiMaterial

Inheritance
Annotations
  • @JS()

Constructors

MultiMaterial(String name, Scene scene)

Properties

allowShaderHotSwapping bool
getter/setter pairinherited
alpha num
getter/setter pairinherited
alphaMode num
getter/setter pairinherited
animations List<Animation>
getter/setter pairinherited
backFaceCulling bool
getter/setter pairinherited
canRenderToMRT bool
no setterinherited
checkReadyOnEveryCall bool
getter/setter pairinherited
checkReadyOnlyOnce bool
getter/setter pairinherited
customShaderNameResolve String Function(String shaderName, List<String> uniforms, List<String> uniformBuffers, List<String> samplers, dynamic defines, List<String> attributes, ICustomShaderNameResolveOptions options)
getter/setter pairinherited
depthFunction num
getter/setter pairinherited
disableColorWrite bool
getter/setter pairinherited
disableDepthWrite bool
getter/setter pairinherited
doNotSerialize bool
getter/setter pairinherited
fillMode num
getter/setter pairinherited
fogEnabled bool
getter/setter pairinherited
forceDepthWrite bool
getter/setter pairinherited
getRenderTargetTextures SmartArray<RenderTargetTexture> Function()
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasRenderTargetTextures bool
no setterinherited
id String
getter/setter pairinherited
isFrozen bool
no setterinherited
metadata ↔ dynamic
getter/setter pairinherited
name String
getter/setter pairinherited
needDepthPrePass bool
getter/setter pairinherited
onBind ← void Function(AbstractMesh Mesh)
no getterinherited
onBindObservable Observable<AbstractMesh>
no setterinherited
onCompiled ↔ void Function(Effect effect)
getter/setter pairinherited
onDispose ← void Function()
no getterinherited
onDisposeObservable Observable<Material>
getter/setter pairinherited
onError ↔ void Function(Effect effect, String errors)
getter/setter pairinherited
onUnBindObservable Observable<Material>
no setterinherited
pointsCloud bool
getter/setter pairinherited
pointSize num
getter/setter pairinherited
releaseVertexArrayObject ↔ dynamic
getter/setter pairinherited
reservedDataStore ↔ dynamic
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separateCullingPass bool
getter/setter pairinherited
shadowDepthWrapper ShadowDepthWrapper
getter/setter pairinherited
sideOrientation num
getter/setter pairinherited
state String
getter/setter pairinherited
subMaterials List<Material>
getter/setter pair
transparencyMode num
getter/setter pairinherited
uniqueId num
getter/setter pairinherited
wireframe bool
getter/setter pairinherited
zOffset num
getter/setter pairinherited

Methods

bind(Matrix world, [Mesh mesh]) → void
inherited
bindForSubMesh(Matrix world, Mesh mesh, SubMesh subMesh) → void
inherited
bindOnlyWorldMatrix(Matrix world) → void
inherited
bindView(Effect effect) → void
inherited
bindViewProjection(Effect effect) → void
inherited
clone(String name) MultiMaterial
override
dispose([bool forceDisposeEffect, bool forceDisposeTextures, bool notBoundToMesh]) → void
override
freeze() → void
inherited
getActiveTextures() List<BaseTexture>
override
getAlphaTestTexture() BaseTexture
inherited
getBindedMeshes() List<AbstractMesh>
inherited
getChildren() List<Material>
getClassName() String
override
getEffect() Effect
inherited
getScene() Scene
inherited
getSubMaterial(num index) Material
hasTexture(BaseTexture texture) bool
override
isReady([AbstractMesh mesh, bool useInstances]) bool
inherited
isReadyForSubMesh(AbstractMesh mesh, SubMesh subMesh, [bool useInstances]) bool
override
markAsDirty(num flag) → void
inherited
markDirty() → void
inherited
needAlphaBlending() bool
inherited
needAlphaBlendingForMesh(AbstractMesh mesh) bool
inherited
needAlphaTesting() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() → dynamic
override
setPrePassRenderer(PrePassRenderer prePassRenderer) bool
inherited
toString([bool fullDetails]) String
A string representation of this object.
inherited
unbind() → void
inherited
unfreeze() → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

ParseMultiMaterial(dynamic parsedMultiMaterial, Scene scene) MultiMaterial