UnweldAttribute enum Geometry
The canned per-triangle attributes MeshData.unweld can attach to its output, under the names custom materials read them by.
Values
- centroid → const UnweldAttribute
-
triangle_centroid(vec3), the triangle's centroid position. The anchor for per-shard motion (fly-in, tumble about the center). - seed → const UnweldAttribute
-
triangle_seed(float), a deterministic per-triangle random in[0, 1). Stable across runs and isolates. - triangleIndex → const UnweldAttribute
-
triangle_index(float), the source triangle's index. - barycentric → const UnweldAttribute
-
barycentric(vec3),(1,0,0)/(0,1,0)/(0,0,1)per corner. Enables single-pass fragment wireframes and edge-distance effects.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
UnweldAttribute> - A constant List of the values in this enum, in order of their declaration.