SurfaceTool class
Constructors
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
-
addIndex(
int index) → void -
addTriangleFan(
List< Vector3> vertices, List<Vector2> texCoords, [List<Vector3> normals = const [], List<Color> colors = const []]) → void -
addVertex(
Vector3 position) → void -
apply(
[Mesh? mesh]) → Mesh -
index(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setColor(
Color color) → void -
setMaterial(
Material material) → void -
setNormal(
Vector3 normal) → void -
setTexCoord(
Vector2 texCoord) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited