BufferGeometryUtils

THREE.BufferGeometryUtils
object BufferGeometryUtils extends Object

Utility functions for working with BufferGeometry objects. Provides advanced vertex manipulation and geometry processing capabilities.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def computeMikkTSpaceTangents(geometry: BufferGeometry, MikkTSpace: Object, negateSign: Boolean): BufferGeometry

Computes vertex tangents using the MikkTSpace algorithm.

Computes vertex tangents using the MikkTSpace algorithm.

Attributes

def computeMorphedAttributes(obj: Object): Object

Calculates the morphed attributes of a morphed/skinned BufferGeometry.

Calculates the morphed attributes of a morphed/skinned BufferGeometry.

Attributes

def deepCloneAttribute(attribute: Object): Object

Performs a deep clone of the given buffer attribute.

Performs a deep clone of the given buffer attribute.

Attributes

def deinterleaveAttribute(attribute: Object): Object

Returns a new, non-interleaved version of the given attribute.

Returns a new, non-interleaved version of the given attribute.

Attributes

def deinterleaveGeometry(geometry: BufferGeometry): Unit

Deinterleaves all attributes on the given geometry.

Deinterleaves all attributes on the given geometry.

Attributes

def estimateBytesUsed(geometry: BufferGeometry): Double

Returns the amount of bytes used by all attributes to represent the geometry.

Returns the amount of bytes used by all attributes to represent the geometry.

Attributes

def interleaveAttributes(attributes: Array[Object]): Array[Object]

Interleaves a set of attributes and returns a new array of corresponding attributes.

Interleaves a set of attributes and returns a new array of corresponding attributes.

Attributes

def mergeAttributes(attributes: Array[Object]): Object

Merges a set of attributes into a single instance.

Merges a set of attributes into a single instance.

Attributes

def mergeGeometries(geometries: Array[BufferGeometry], useGroups: Boolean): BufferGeometry

Merges a set of geometries into a single instance.

Merges a set of geometries into a single instance.

Attributes

Merges the groups for the given geometry.

Merges the groups for the given geometry.

Attributes

def mergeVertices(geometry: BufferGeometry, tolerance: Double): BufferGeometry

Returns a new geometry with vertices for which all similar vertex attributes are merged.

Returns a new geometry with vertices for which all similar vertex attributes are merged.

Attributes

def toCreasedNormals(geometry: BufferGeometry, creaseAngle: Double): BufferGeometry

Modifies the supplied geometry to have smooth normals everywhere except faces that meet at an angle greater than the crease angle.

Modifies the supplied geometry to have smooth normals everywhere except faces that meet at an angle greater than the crease angle.

Attributes

def toTrianglesDrawMode(geometry: BufferGeometry, drawMode: Int): BufferGeometry

Returns a new geometry with vertices converted to TrianglesDrawMode.

Returns a new geometry with vertices converted to TrianglesDrawMode.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object