PBRBaseMaterial class abstract
class PBRBaseMaterial
- Inheritance
-
- Object
- Material
- PushMaterial
- PBRBaseMaterial
- Implementers
- Annotations
-
- @JS()
Constructors
Properties
- allowShaderHotSwapping ↔ bool
-
getter/setter pairinherited
- alpha ↔ num
-
getter/setter pairinherited
- alphaMode ↔ num
-
getter/setter pairinherited
-
animations
↔ List<
Animation> -
getter/setter pairinherited
- anisotropy → PBRAnisotropicConfiguration
-
no setter
- backFaceCulling ↔ bool
-
getter/setter pairinherited
- brdf → PBRBRDFConfiguration
-
no setter
- canRenderToMRT → bool
-
no setteroverride
- checkReadyOnEveryCall ↔ bool
-
getter/setter pairinherited
- checkReadyOnlyOnce ↔ bool
-
getter/setter pairinherited
- clearCoat → PBRClearCoatConfiguration
-
no setter
-
customShaderNameResolve
↔ String Function(String shaderName, List<
String> uniforms, List<String> uniformBuffers, List<String> samplers, dynamic defines, List<String> attributes, ICustomShaderNameResolveOptions options) -
getter/setter pairinherited
- debugFactor ↔ dynamic
-
getter/setter pair
- debugLimit ↔ dynamic
-
getter/setter pair
- debugMode ↔ num
-
getter/setter pair
- depthFunction ↔ num
-
getter/setter pairinherited
- detailMap → DetailMapConfiguration
-
no setter
- 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 setteroverride
- 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
- prePassConfiguration → PrePassConfiguration
-
no setter
- realTimeFiltering ↔ bool
-
getter/setter pair
- realTimeFilteringQuality ↔ num
-
getter/setter pair
- 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
- sheen → PBRSheenConfiguration
-
no setter
- sideOrientation ↔ num
-
getter/setter pairinherited
- state ↔ String
-
getter/setter pairinherited
- subSurface → PBRSubSurfaceConfiguration
-
no setter
- transparencyMode ↔ num
-
getter/setter pairinherited
- uniqueId ↔ num
-
getter/setter pairinherited
- useLogarithmicDepth ↔ bool
-
getter/setter pair
- 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 -
override
-
bindOnlyNormalMatrix(
Matrix normalMatrix) → void -
inherited
-
bindOnlyWorldMatrix(
Matrix world) → void -
inherited
-
bindView(
Effect effect) → void -
inherited
-
bindViewProjection(
Effect effect) → void -
inherited
-
buildUniformLayout(
) → void -
clone(
String name) → Material -
inherited
-
dispose(
[bool forceDisposeEffect, bool forceDisposeTextures, bool notBoundToMesh]) → void -
override
-
forceCompilation(
AbstractMesh mesh, [void onCompiled(Material material), IMaterialCompilationOptions options, void onError(String reason)]) → void -
freeze(
) → void -
inherited
-
getActiveTextures(
) → List< BaseTexture> -
override
-
getAlphaTestTexture(
) → BaseTexture -
override
-
getAnimatables(
) → List< IAnimatable> -
getBindedMeshes(
) → List< AbstractMesh> -
inherited
-
getClassName(
) → String -
override
-
getEffect(
) → Effect -
inherited
-
getScene(
) → Scene -
inherited
-
hasTexture(
BaseTexture texture) → bool -
override
-
isMetallicWorkflow(
) → bool -
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 -
override
-
needAlphaBlendingForMesh(
AbstractMesh mesh) → bool -
inherited
-
needAlphaTesting(
) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → dynamic -
inherited
-
setPrePassRenderer(
PrePassRenderer prePassRenderer) → bool -
override
-
toString(
[bool fullDetails]) → String -
A string representation of this object.
inherited
-
unbind(
) → void -
override
-
unfreeze(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- DEFAULT_AO_ON_ANALYTICAL_LIGHTS ↔ num
-
getter/setter pair
- LIGHTFALLOFF_GLTF → num
-
no setter
- LIGHTFALLOFF_PHYSICAL → num
-
no setter
- LIGHTFALLOFF_STANDARD → num
-
no setter
- PBRMATERIAL_ALPHABLEND → num
-
no setter
- PBRMATERIAL_ALPHATEST → num
-
no setter
- PBRMATERIAL_ALPHATESTANDBLEND → num
-
no setter
- PBRMATERIAL_OPAQUE → num
-
no setter