Method | Defined By | ||
---|---|---|---|
constructSubGeometry(verts:Vector.<Number>, indices:Vector.<uint>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>, weights:Vector.<Number>, jointIndices:Vector.<Number>):CompactSubGeometry [static]
Build a sub-geometry from data vectors. | GeomUtil | ||
fromVectors(verts:Vector.<Number>, indices:Vector.<uint>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>, weights:Vector.<Number>, jointIndices:Vector.<Number>):Vector.<ISubGeometry> [static]
Build a list of sub-geometries from raw data vectors, splitting them up in
such a way that they won't exceed buffer length limits. | GeomUtil |
constructSubGeometry | () | method |
public static function constructSubGeometry(verts:Vector.<Number>, indices:Vector.<uint>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>, weights:Vector.<Number>, jointIndices:Vector.<Number>):CompactSubGeometry
Build a sub-geometry from data vectors.
Parameters
verts:Vector.<Number> | |
indices:Vector.<uint> | |
uvs:Vector.<Number> | |
normals:Vector.<Number> | |
tangents:Vector.<Number> | |
weights:Vector.<Number> | |
jointIndices:Vector.<Number> |
CompactSubGeometry |
fromVectors | () | method |
public static function fromVectors(verts:Vector.<Number>, indices:Vector.<uint>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>, weights:Vector.<Number>, jointIndices:Vector.<Number>):Vector.<ISubGeometry>
Build a list of sub-geometries from raw data vectors, splitting them up in such a way that they won't exceed buffer length limits.
Parameters
verts:Vector.<Number> | |
indices:Vector.<uint> | |
uvs:Vector.<Number> | |
normals:Vector.<Number> | |
tangents:Vector.<Number> | |
weights:Vector.<Number> | |
jointIndices:Vector.<Number> |
Vector.<ISubGeometry> |