MaterialInstance<T> class abstract

Constructors

MaterialInstance.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future
getNativeHandle() → T
inherited
isStencilWriteEnabled() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCullingMode(CullingMode cullingMode) Future
setDepthCullingEnabled(bool enabled) Future
setDepthFunc(SamplerCompareFunction depthFunc) Future
setDepthWriteEnabled(bool enabled) Future
setParameterBool(String name, bool value) Future
setParameterFloat(String name, double x) Future
setParameterFloat2(String name, double x, double y) Future
setParameterFloat3(String name, double x, double y, double z) Future
setParameterFloat3Array(String name, List<Vector3> data) Future
setParameterFloat4(String name, double x, double y, double z, double w) Future
setParameterInt(String name, int value) Future
setParameterMat4(String name, Matrix4 matrix) Future
setParameterTexture(String name, covariant Texture texture, covariant TextureSampler sampler) Future
setStencilCompareFunction(SamplerCompareFunction func, [StencilFace face = StencilFace.FRONT_AND_BACK]) Future
Sets the stencil test comparison function
setStencilOpDepthFail(StencilOperation op, [StencilFace face = StencilFace.FRONT_AND_BACK]) Future
Sets the stencil operation to be performed when the depth test fails
setStencilOpDepthStencilPass(StencilOperation op, [StencilFace face = StencilFace.FRONT_AND_BACK]) Future
Sets the stencil operation to be performed when both depth and stencil tests pass
setStencilOpStencilFail(StencilOperation op, [StencilFace face = StencilFace.FRONT_AND_BACK]) Future
Sets the stencil operation to be performed when the stencil test fails
setStencilReadMask(int mask) Future
setStencilReferenceValue(int value, [StencilFace face = StencilFace.FRONT_AND_BACK]) Future
Sets the reference value used for stencil testing
setStencilWriteEnabled(bool enabled) Future
setStencilWriteMask(int mask) Future
setTransparencyMode(TransparencyMode mode) Future
toString() String
A string representation of this object.
inherited

Operators

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