PBRMaterial class
class PBRMaterial
- Inheritance
-
- Object
- Material
- PushMaterial
- PBRBaseMaterial
- PBRMaterial
- Annotations
-
- @JS()
Constructors
- PBRMaterial(String name, Scene scene)
Properties
- albedoColor ↔ Color3
-
getter/setter pair
- albedoTexture ↔ BaseTexture
-
getter/setter pair
- allowShaderHotSwapping ↔ bool
-
getter/setter pairinherited
- alpha ↔ num
-
getter/setter pairinherited
- alphaCutOff ↔ num
-
getter/setter pair
- alphaMode ↔ num
-
getter/setter pairinherited
- ambientColor ↔ Color3
-
getter/setter pair
- ambientTexture ↔ BaseTexture
-
getter/setter pair
- ambientTextureImpactOnAnalyticalLights ↔ num
-
getter/setter pair
- ambientTextureStrength ↔ num
-
getter/setter pair
-
animations
↔ List<
Animation> -
getter/setter pairinherited
- anisotropy → PBRAnisotropicConfiguration
-
no setterinherited
- backFaceCulling ↔ bool
-
getter/setter pairinherited
- brdf → PBRBRDFConfiguration
-
no setterinherited
- bumpTexture ↔ BaseTexture
-
getter/setter pair
- cameraColorCurves ↔ ColorCurves
-
getter/setter pair
- cameraColorCurvesEnabled ↔ bool
-
getter/setter pair
- cameraColorGradingEnabled ↔ bool
-
getter/setter pair
- cameraColorGradingTexture ↔ BaseTexture
-
getter/setter pair
- cameraContrast ↔ num
-
getter/setter pair
- cameraExposure ↔ num
-
getter/setter pair
- cameraToneMappingEnabled ↔ bool
-
getter/setter pair
- canRenderToMRT → bool
-
no setterinherited
- checkReadyOnEveryCall ↔ bool
-
getter/setter pairinherited
- checkReadyOnlyOnce ↔ bool
-
getter/setter pairinherited
- clearCoat → PBRClearCoatConfiguration
-
no setterinherited
-
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 pairinherited
- debugLimit ↔ dynamic
-
getter/setter pairinherited
- debugMode ↔ num
-
getter/setter pairinherited
- depthFunction ↔ num
-
getter/setter pairinherited
- detailMap → DetailMapConfiguration
-
no setterinherited
- directIntensity ↔ num
-
getter/setter pair
- disableBumpMap ↔ bool
-
getter/setter pair
- disableColorWrite ↔ bool
-
getter/setter pairinherited
- disableDepthWrite ↔ bool
-
getter/setter pairinherited
- disableLighting ↔ bool
-
getter/setter pair
- doNotSerialize ↔ bool
-
getter/setter pairinherited
- emissiveColor ↔ Color3
-
getter/setter pair
- emissiveIntensity ↔ num
-
getter/setter pair
- emissiveTexture ↔ BaseTexture
-
getter/setter pair
- enableSpecularAntiAliasing ↔ bool
-
getter/setter pair
- environmentBRDFTexture ↔ BaseTexture
-
getter/setter pair
- environmentIntensity ↔ num
-
getter/setter pair
- fillMode ↔ num
-
getter/setter pairinherited
- fogEnabled ↔ bool
-
getter/setter pairinherited
- forceAlphaTest ↔ bool
-
getter/setter pair
- forceDepthWrite ↔ bool
-
getter/setter pairinherited
- forceIrradianceInFragment ↔ bool
-
getter/setter pair
- forceNormalForward ↔ bool
-
getter/setter pair
-
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
- imageProcessingConfiguration ↔ ImageProcessingConfiguration
-
getter/setter pair
- indexOfRefraction ↔ num
-
getter/setter pair
- invertNormalMapX ↔ bool
-
getter/setter pair
- invertNormalMapY ↔ bool
-
getter/setter pair
- invertRefractionY ↔ bool
-
getter/setter pair
- isFrozen → bool
-
no setterinherited
- lightmapTexture ↔ BaseTexture
-
getter/setter pair
- linkRefractionWithTransparency ↔ bool
-
getter/setter pair
- maxSimultaneousLights ↔ num
-
getter/setter pair
- metadata ↔ dynamic
-
getter/setter pairinherited
- metallic ↔ num
-
getter/setter pair
- metallicF0Factor ↔ num
-
getter/setter pair
- metallicReflectanceColor ↔ Color3
-
getter/setter pair
- metallicReflectanceTexture ↔ BaseTexture
-
getter/setter pair
- metallicTexture ↔ BaseTexture
-
getter/setter pair
- microSurface ↔ num
-
getter/setter pair
- microSurfaceTexture ↔ BaseTexture
-
getter/setter pair
- 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
- opacityTexture ↔ BaseTexture
-
getter/setter pair
- parallaxScaleBias ↔ num
-
getter/setter pair
- pointsCloud ↔ bool
-
getter/setter pairinherited
- pointSize ↔ num
-
getter/setter pairinherited
- prePassConfiguration → PrePassConfiguration
-
no setterinherited
- realTimeFiltering ↔ bool
-
getter/setter pairinherited
- realTimeFilteringQuality ↔ num
-
getter/setter pairinherited
- reflectionColor ↔ Color3
-
getter/setter pair
- reflectionTexture ↔ BaseTexture
-
getter/setter pair
- reflectivityColor ↔ Color3
-
getter/setter pair
- reflectivityTexture ↔ BaseTexture
-
getter/setter pair
- refractionTexture ↔ BaseTexture
-
getter/setter pair
- releaseVertexArrayObject ↔ dynamic
-
getter/setter pairinherited
- reservedDataStore ↔ dynamic
-
getter/setter pairinherited
- roughness ↔ num
-
getter/setter pair
- 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 setterinherited
- sideOrientation ↔ num
-
getter/setter pairinherited
- specularIntensity ↔ num
-
getter/setter pair
- state ↔ String
-
getter/setter pairinherited
- subSurface → PBRSubSurfaceConfiguration
-
no setterinherited
- transparencyMode ↔ num
-
getter/setter pairinherited
- twoSidedLighting ↔ bool
-
getter/setter pair
- uniqueId ↔ num
-
getter/setter pairinherited
- unlit ↔ bool
-
getter/setter pair
- useAlphaFresnel ↔ bool
-
getter/setter pair
- useAlphaFromAlbedoTexture ↔ bool
-
getter/setter pair
- useAmbientInGrayScale ↔ bool
-
getter/setter pair
- useAmbientOcclusionFromMetallicTextureRed ↔ bool
-
getter/setter pair
- useAutoMicroSurfaceFromReflectivityMap ↔ bool
-
getter/setter pair
- useGLTFLightFalloff ↔ bool
-
getter/setter pair
- useHorizonOcclusion ↔ bool
-
getter/setter pair
- useLightmapAsShadowmap ↔ bool
-
getter/setter pair
- useLinearAlphaFresnel ↔ bool
-
getter/setter pair
- useLogarithmicDepth ↔ bool
-
getter/setter pairinherited
- useMetallnessFromMetallicTextureBlue ↔ bool
-
getter/setter pair
- useMicroSurfaceFromReflectivityMapAlpha ↔ bool
-
getter/setter pair
- useObjectSpaceNormalMap ↔ bool
-
getter/setter pair
- useParallax ↔ bool
-
getter/setter pair
- useParallaxOcclusion ↔ bool
-
getter/setter pair
- usePhysicalLightFalloff ↔ bool
-
getter/setter pair
- useRadianceOcclusion ↔ bool
-
getter/setter pair
- useRadianceOverAlpha ↔ bool
-
getter/setter pair
- useRoughnessFromMetallicTextureAlpha ↔ bool
-
getter/setter pair
- useRoughnessFromMetallicTextureGreen ↔ bool
-
getter/setter pair
- useSpecularOverAlpha ↔ 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 -
inherited
-
bindOnlyNormalMatrix(
Matrix normalMatrix) → void -
inherited
-
bindOnlyWorldMatrix(
Matrix world) → void -
inherited
-
bindView(
Effect effect) → void -
inherited
-
bindViewProjection(
Effect effect) → void -
inherited
-
buildUniformLayout(
) → void -
inherited
-
clone(
String name) → PBRMaterial -
override
-
dispose(
[bool forceDisposeEffect, bool forceDisposeTextures, bool notBoundToMesh]) → void -
inherited
-
forceCompilation(
AbstractMesh mesh, [void onCompiled(Material material), IMaterialCompilationOptions options, void onError(String reason)]) → void -
inherited
-
freeze(
) → void -
inherited
-
getActiveTextures(
) → List< BaseTexture> -
inherited
-
getAlphaTestTexture(
) → BaseTexture -
inherited
-
getAnimatables(
) → List< IAnimatable> -
inherited
-
getBindedMeshes(
) → List< AbstractMesh> -
inherited
-
getClassName(
) → String -
override
-
getEffect(
) → Effect -
inherited
-
getScene(
) → Scene -
inherited
-
hasTexture(
BaseTexture texture) → bool -
inherited
-
isMetallicWorkflow(
) → bool -
inherited
-
isReady(
[AbstractMesh mesh, bool useInstances]) → bool -
inherited
-
isReadyForSubMesh(
AbstractMesh mesh, SubMesh subMesh, [bool useInstances]) → bool -
inherited
-
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 Properties
- DEFAULT_AO_ON_ANALYTICAL_LIGHTS ↔ num
-
getter/setter pair
- PBRMATERIAL_ALPHABLEND → num
-
no setter
- PBRMATERIAL_ALPHATEST → num
-
no setter
- PBRMATERIAL_ALPHATESTANDBLEND → num
-
no setter
- PBRMATERIAL_OPAQUE → num
-
no setter
Static Methods
-
Parse(
dynamic parsedMaterial, Scene scene, String rootUrl) → PBRMaterial -
override