MeshSurfaceSampler class

Constructors

MeshSurfaceSampler(dynamic mesh)

Properties

colorAttribute ↔ Float32BufferAttribute
getter/setter pair
distribution Float32List?
getter/setter pair
geometry ↔ BufferGeometry
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
positionAttribute ↔ Float32BufferAttribute
getter/setter pair
randomFunction Function
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weightAttribute ↔ Float32BufferAttribute?
getter/setter pair

Methods

binarySearch(dynamic x) → dynamic
build() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sample(dynamic targetPosition, dynamic targetNormal, dynamic targetColor) → dynamic
sampleFace(dynamic faceIndex, dynamic targetPosition, dynamic targetNormal, dynamic targetColor) → dynamic
setRandomGenerator(dynamic randomFunction) → dynamic
setWeightAttribute(dynamic name) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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