PathEngine home previous: iExpanded2DObstacles::save()next: iContentChunk::addConstExternalRef()
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/code/externalAPI/i_pathengine.h.

Construction and Deletion

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

Methods:

addConstExternalRef

Increments the internal reference count for this API object.

addExternalRef

Increments the internal reference count for this API object.

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.

hasRefs

Enables you to check whether there are any outstanding references on this object, other than the interface reference through which you are calling, and therefore whether this object will actually be deleted if you call its release method.

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().

release

Releases the API object pointer.

save

Saves the content chunk to persistent storage.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iContentChunk::addConstExternalRef()