VectorList Class

Used to construct, modify, and animate a Trimesh.

Events

None

Properties

X

Y

Z


Methods

AddList

NormalizeAll

AddToAll

SetToDifference

Copy

SetToSum

GetVector

SetVector

MultiplyAllBy

SetXYZ


More information available in parent classes: Object


Notes

This is a helper class that maintains a weak reference to the Trimesh that it came from. When you modify a VectorList, it modifies the Trimesh it came from. Note that it does not have a Count property; you get the count from the Trimesh's VertexCount property. This makes sense because are several lists that all have to be the same size. VectorList lets you individually access the X, Y, and Z of any element in the list, but it also contains several methods for doing common operations on the whole list at once. These can be used for very efficient animation.


See Also

Bounds3D, ColorList, Element3D, Group3D, Light3D, Material, Object3D, Quaternion, TriangleList, Trimesh, UVList, Vector3D, classes; Rb3DSpace control.