MeshBasicMaterial class

Inheritance

Constructors

MeshBasicMaterial({Color? color, Uint8List? map, int? mapWidth, int? mapHeigth, bool checkerboard = false})

Properties

checkerboard bool
set this to true if you want to use the checkboard texture. but you need to provide the correct data.
getter/setter pair
color Color?
The material color.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
map Uint8List?
The texture map data as Uint8List.
getter/setter pair
mapHeigth int?
The texture map height.
getter/setter pair
mapWidth int?
the texture map width.
getter/setter pair
opacity double
if transparent set to true then you can use the opacity. the range of the opacity is between 0.0 and 1.0
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transparent bool
Set this to true if you want transparent objects.
getter/setter pairinherited
uniforms Map<String, dynamic>
The material uniforms.
getter/setter pairinherited
visible bool
Set this to false if you don't want to render this object.
getter/setter pairinherited
wireframe bool
If set to true then the program will chose gl.LINES instead of gl.TRIANGES.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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