PrimitiveBase is an abstract base object for mesh primitives, which are prebuilt simple meshes.


Inherited from Geometry -> NamedAssetBase -> EventDispatcher.


Created PrimitiveBase object has properties:

subGeometries

[override] [read-only] A collection of SubGeometry objects, each of which contain geometrical data such as vertices, normals, etc. Vector array of ISubGeometry: (CompactSubGeometry), (SubGeometry)


methods:

buildGeometry(target)

Builds the primitive's geometry when invalid.

target - (CompactSubGeometry)


buildUVs(target)

Builds the primitive's uv coordinates when invalid.

target - (CompactSubGeometry)

invalidateGeometry()

Invalidates the primitive's geometry, causing it to be updated when requested.


invalidateUVs()

Invalidates the primitive's uv coordinates, causing them to be updated when requested.


Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents