StandardMaterial class

class StandardMaterial

Inheritance
Annotations
  • @JS()

Constructors

StandardMaterial(String name, Scene scene)

Properties

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
AmbientTextureEnabled bool
getter/setter pair
animations List<Animation>
getter/setter pairinherited
backFaceCulling bool
getter/setter pairinherited
bumpTexture BaseTexture
getter/setter pair
BumpTextureEnabled bool
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 setteroverride
checkReadyOnEveryCall bool
getter/setter pairinherited
checkReadyOnlyOnce bool
getter/setter pairinherited
ColorGradingTextureEnabled bool
getter/setter pair
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
detailMap DetailMapConfiguration
no setter
DetailTextureEnabled bool
getter/setter pair
diffuseColor Color3
getter/setter pair
diffuseFresnelParameters FresnelParameters
getter/setter pair
diffuseTexture BaseTexture
getter/setter pair
DiffuseTextureEnabled 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
emissiveFresnelParameters FresnelParameters
getter/setter pair
emissiveTexture BaseTexture
getter/setter pair
EmissiveTextureEnabled bool
getter/setter pair
fillMode num
getter/setter pairinherited
fogEnabled bool
getter/setter pairinherited
forceDepthWrite bool
getter/setter pairinherited
FresnelEnabled bool
getter/setter pair
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
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
LightmapTextureEnabled bool
getter/setter pair
linkEmissiveWithDiffuse bool
getter/setter pair
maxSimultaneousLights num
getter/setter pair
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
opacityFresnelParameters FresnelParameters
getter/setter pair
opacityTexture BaseTexture
getter/setter pair
OpacityTextureEnabled bool
getter/setter pair
parallaxScaleBias num
getter/setter pair
pointsCloud bool
getter/setter pairinherited
pointSize num
getter/setter pairinherited
prePassConfiguration PrePassConfiguration
no setter
reflectionFresnelParameters FresnelParameters
getter/setter pair
reflectionTexture BaseTexture
getter/setter pair
ReflectionTextureEnabled bool
getter/setter pair
refractionFresnelParameters FresnelParameters
getter/setter pair
refractionTexture BaseTexture
getter/setter pair
RefractionTextureEnabled bool
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
sideOrientation num
getter/setter pairinherited
specularColor Color3
getter/setter pair
specularPower num
getter/setter pair
specularTexture BaseTexture
getter/setter pair
SpecularTextureEnabled bool
getter/setter pair
state String
getter/setter pairinherited
transparencyMode num
getter/setter pairinherited
twoSidedLighting bool
getter/setter pair
uniqueId num
getter/setter pairinherited
useAlphaFromDiffuseTexture bool
getter/setter pair
useEmissiveAsIllumination bool
getter/setter pair
useGlossinessFromSpecularMapAlpha bool
getter/setter pair
useLightmapAsShadowmap bool
getter/setter pair
useLogarithmicDepth bool
getter/setter pair
useObjectSpaceNormalMap bool
getter/setter pair
useParallax bool
getter/setter pair
useParallaxOcclusion bool
getter/setter pair
useReflectionFresnelFromSpecular bool
getter/setter pair
useReflectionOverAlpha 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
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) StandardMaterial
override
dispose([bool forceDisposeEffect, bool forceDisposeTextures, bool notBoundToMesh]) → void
override
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
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
override
setPrePassRenderer(PrePassRenderer prePassRenderer) bool
inherited
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 Methods

Parse(dynamic parsedMaterial, Scene scene, String rootUrl) StandardMaterial
override