ShapeGeometry class
- Inheritance
-
- Object
- BufferGeometry
- ShapeGeometry
Constructors
- ShapeGeometry(dynamic shapes, {num curveSegments = 12})
-
ShapeGeometry.fromJSON(Map<
String, dynamic> json, Map<String, dynamic> rootJSON)
Properties
-
attributes
↔ Map<
String, dynamic> -
getter/setter pairinherited
- boundingBox ↔ Box3?
-
getter/setter pairinherited
- boundingSphere ↔ Sphere?
-
getter/setter pairinherited
-
colors
↔ List<
Color> -
getter/setter pairinherited
- colorsNeedUpdate ↔ bool
-
getter/setter pairinherited
- curveSegments ↔ num
-
getter/setter pairinherited
- directGeometry ↔ dynamic
-
getter/setter pairinherited
-
drawRange
↔ Map<
String, int> -
getter/setter pairinherited
- elementsNeedUpdate ↔ bool
-
getter/setter pairinherited
-
groups
↔ List<
Map< String, dynamic> > -
getter/setter pairinherited
- groupsNeedUpdate ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pairinherited
-
index
↔ BufferAttribute<
NativeArray< ?num> > -
getter/setter pairinherited
- instanceCount ↔ int?
-
getter/setter pairinherited
-
lineDistances
↔ List<
num> -
getter/setter pairinherited
- lineDistancesNeedUpdate ↔ bool
-
getter/setter pairinherited
- maxInstanceCount ↔ int?
-
getter/setter pairinherited
-
morphAttributes
↔ Map<
String, List< BufferAttribute< >NativeArray< >num> > -
getter/setter pairinherited
- morphTargets ↔ dynamic
-
getter/setter pairinherited
- morphTargetsRelative ↔ bool
-
getter/setter pairinherited
- name ↔ String
-
getter/setter pairinherited
- normalsNeedUpdate ↔ bool
-
getter/setter pairinherited
-
parameters
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shapes
↔ List<
Shape> -
getter/setter pairinherited
- type ↔ String
-
getter/setter pairinherited
-
userData
↔ Map<
String, dynamic> -
getter/setter pairinherited
- uuid ↔ String
-
getter/setter pairinherited
- uvsNeedUpdate ↔ bool
-
getter/setter pairinherited
- verticesNeedUpdate ↔ bool
-
getter/setter pairinherited
Methods
-
addEventListener(
String type, Function listener) → void -
inherited
-
addGroup(
int start, int count, [int materialIndex = 0]) → void -
inherited
-
applyMatrix4(
Matrix4 matrix) → void -
inherited
-
applyQuaternion(
Quaternion q) → BufferGeometry -
inherited
-
center(
) → void -
inherited
-
clearGroups(
) → void -
inherited
-
clearListeners(
) → void -
inherited
-
clone(
) → BufferGeometry -
inherited
-
computeBoundingBox(
) → void -
inherited
-
computeBoundingSphere(
) → void -
inherited
-
computeFaceNormals(
) → void -
inherited
-
computeTangents(
) → void -
inherited
-
computeVertexNormals(
) → void -
inherited
-
copy(
BufferGeometry source) → BufferGeometry -
inherited
-
deleteAttribute(
String name) → BufferGeometry -
inherited
-
dispatchEvent(
Event event) → void -
inherited
-
dispose(
) → void -
inherited
-
getAttribute(
String name) → dynamic -
inherited
-
getIndex(
) → BufferAttribute< NativeArray< ?num> > -
inherited
-
hasAttribute(
String name) → bool -
inherited
-
hasEventListener(
String type, Function? listener) → bool -
inherited
-
init(
) → dynamic -
lookAt(
Vector3 vector) → BufferGeometry -
inherited
-
merge(
BufferGeometry geometry, [int? offset]) → BufferGeometry -
inherited
-
normalizeNormals(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, Function listener) → void -
inherited
-
rotateX(
num angle) → BufferGeometry -
inherited
-
rotateY(
num angle) → BufferGeometry -
inherited
-
rotateZ(
num angle) → BufferGeometry -
inherited
-
scale(
num x, num y, num z) → BufferGeometry -
inherited
-
setAttribute(
String name, dynamic attribute) → BufferGeometry -
inherited
-
setDrawRange(
int start, int count) → void -
inherited
-
setFromPoints(
dynamic points) → BufferGeometry -
inherited
-
setIndex(
dynamic index) → void -
inherited
-
toJSON(
{Object3dMeta? meta}) → Map< String, dynamic> -
override
-
toJSON2(
dynamic shapes, dynamic data) → dynamic -
toNonIndexed(
) → BufferGeometry -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
num x, num y, num z) → BufferGeometry -
inherited
-
translateWithVector3(
Vector3 v3) → BufferGeometry -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited