PhysicallyBasedMaterial class

Inheritance

Constructors

PhysicallyBasedMaterial.new({Texture? baseColorTexture, Texture? metallicRoughnessTexture, Texture? normalTexture, Texture? emissiveTexture, Texture? occlusionTexture, Environment? environment})

Properties

baseColorFactor ↔ Vector4
getter/setter pair
baseColorTexture Texture?
getter/setter pair
emissiveFactor ↔ Vector4
getter/setter pair
emissiveTexture Texture?
getter/setter pair
environment Environment?
getter/setter pair
fragmentShader Shader
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
metallicFactor double
getter/setter pair
metallicRoughnessTexture Texture?
getter/setter pair
normalScale double
getter/setter pair
normalTexture Texture?
getter/setter pair
occlusionStrength double
getter/setter pair
occlusionTexture Texture?
getter/setter pair
roughnessFactor double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexColorWeight double
getter/setter pair

Methods

bind(RenderPass pass, HostBuffer transientsBuffer, Environment environment) → void
override
isOpaque() bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFragmentShader(Shader shader) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromFlatbuffer(Material fbMaterial, List<Texture> textures) PhysicallyBasedMaterial
override