LoopSubdivision class

Loop subdivision surface modifier for use with modern three.js BufferGeometry

Constructors

LoopSubdivision.new()

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

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

Static Methods

edgeSplit(dynamic geometry) → dynamic
////////////////////////////////////////////////////////////////////////////////// // Split Hypotenuse /////////////////
flat(BufferGeometry geometry, [LoopParameters? params]) → dynamic
Applies one iteration of Loop (flat) subdivision (1 triangle split into 4 triangles)
flatAttribute(BufferAttribute<NativeArray<num>> attribute, int vertexCount, [LoopParameters? params]) → BufferAttribute<NativeArray<num>>
modify(BufferGeometry bufferGeometry, [int iterations = 1, LoopParameters? params]) → BufferGeometry
Applies Loop subdivision modifier to geometry
smooth(BufferGeometry geometry, [LoopParameters? params]) → dynamic
Applies one iteration of Loop (smooth) subdivision (1 triangle split into 4 triangles)