PathEngine home previous: iCollisionInfo::getCollidingLine()next: iContentChunk::deleteAllInstances()
Contents, API Reference, Interfaces, iContentChunk

Interface iContentChunk

Description

Encapsulates a block of content markup that can be saved and loaded to and from persistent store, and instanced for PathEngine's content processing functionality.

Refer to 2D Content Processing for information about PathEngine's content processing functionality.

This interface is defined in SDKRoot/include/i_pathengine.h.

Construction and Deletion

iContentChunk objects can be constructed with iPathEngine::newContentChunk(), or loaded with iPathEngine::loadContentChunk().
iContentChunk objects can be deleted explicitly by calling delete on the pointer or by calling the object's destroy() function. All iContentChunk objects are deleted by a call to iPathEngine::deleteAllObjects().
A pointer to an iContentChunk object must not be used after the object has been deleted.

Any content chunks not deleted get cleaned up automatically when PathEngine is shut down.

Methods:

deleteAllInstances

Deletes all objects previously created by iContentChunk::instantiate() or iContentChunk::instantiate_FloatRotateAndScale().

hasAnchorsAndShapesComponent

Used to query whether or not a content chunk has an anchors and shapes component.

hasGroundComponent

Used to query whether or not a content chunk has a ground component.

instantiate

Used to place instances of content chunk geometry into the world.
The instance objects generated can then be used to drive PathEngine's content processing functionality, and to place anchors and shapes against the resulting ground mesh.

instantiate_FloatRotateAndScale

Used to place instances of content chunk geometry into the world.
The instance objects generated can then be used to drive PathEngine's content processing functionality, and to place anchors and shapes against the resulting ground mesh.

numberOfConnectingEdges

Used to query the number of connecting edges marked up in a chunk's ground geometry.

preValidate

Validates the content chunk in advance for placement by iContentChunk::instantiate().

save

Saves the content chunk to persistent storage.


Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEnginenext: iContentChunk::deleteAllInstances()