VertexData class

class VertexData

Annotations
  • @JS()

Constructors

VertexData()

Properties

colors Float32List
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
indices Int32List
getter/setter pair
matricesIndices Float32List
getter/setter pair
matricesIndicesExtra Float32List
getter/setter pair
matricesWeights Float32List
getter/setter pair
matricesWeightsExtra Float32List
getter/setter pair
normals Float32List
getter/setter pair
positions Float32List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tangents Float32List
getter/setter pair
uvs Float32List
getter/setter pair
uvs2 Float32List
getter/setter pair
uvs3 Float32List
getter/setter pair
uvs4 Float32List
getter/setter pair
uvs5 Float32List
getter/setter pair
uvs6 Float32List
getter/setter pair

Methods

applyToGeometry(Geometry geometry, [bool updatable]) VertexData
applyToMesh(Mesh mesh, [bool updatable]) VertexData
merge(VertexData other, [bool use32BitsIndices]) VertexData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() → dynamic
set(Float32List data, String kind) → void
toString() String
A string representation of this object.
inherited
transform(Matrix matrix) VertexData
updateGeometry(Geometry geometry) VertexData
updateMesh(Mesh mesh) VertexData

Operators

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

Static Properties

BACKSIDE num
no setter
DEFAULTSIDE num
no setter
DOUBLESIDE num
no setter
FRONTSIDE num
no setter

Static Methods

ComputeNormals(dynamic positions, dynamic indices, dynamic normals, [VertexDataComputeNormalsOptions options]) → void
CreateBox(VertexDataCreateBoxOptions options) VertexData
CreateCapsule([ICreateCapsuleOptions options]) VertexData
CreateCylinder(VertexDataCreateCylinderOptions options) VertexData
CreateDashedLines(VertexDataCreateDashedLinesOptions options) VertexData
CreateDisc(VertexDataCreateDiscOptions options) VertexData
CreateGround(VertexDataCreateGroundOptions options) VertexData
CreateGroundFromHeightMap(VertexDataCreateGroundFromHeightMapOptions options) VertexData
CreateIcoSphere(VertexDataCreateIcoSphereOptions options) VertexData
CreateLineSystem(VertexDataCreateLineSystemOptions options) VertexData
CreatePlane(VertexDataCreatePlaneOptions options) VertexData
CreatePolygon(Mesh polygon, num sideOrientation, [List<Vector4> fUV, List<Color4> fColors, Vector4 frontUVs, Vector4 backUVs, bool wrap]) VertexData
CreatePolyhedron(VertexDataCreatePolyhedronOptions options) VertexData
CreateRibbon(VertexDataCreateRibbonOptions options) VertexData
CreateSphere(VertexDataCreateSphereOptions options) VertexData
CreateTiledBox(VertexDataCreateTiledBoxOptions options) VertexData
CreateTiledGround(VertexDataCreateTiledGroundOptions options) VertexData
CreateTiledPlane(VertexDataCreateTiledPlaneOptions options) VertexData
CreateTorus(VertexDataCreateTorusOptions options) VertexData
CreateTorusKnot(VertexDataCreateTorusKnotOptions options) VertexData
ExtractFromGeometry(Geometry geometry, [bool copyWhenShared, bool forceCopy]) VertexData
ExtractFromMesh(Mesh mesh, [bool copyWhenShared, bool forceCopy]) VertexData
ImportVertexData(dynamic parsedVertexData, Geometry geometry) → void