PathEngine home previous: iPathEngine::unobstructedSpaceVersionIsCompatible()next: iShape::addConstExternalRef()
Contents, API Reference, Interfaces, iShape

Interface iShape

Description

Define a collision shape that can then be used to create multiple agents.

Defined in SDKRoot/code/externalAPI/i_pathengine.h.

Agents created from the same iShape will share collision and pathfinding preprocess.

Construction and Deletion

iShape objects can be constructed with iPathEngine::newShape().

Validation constraints

Refer to Shape Validation for information about constraints on the set of vertices for iShape instances.

Methods:

addConstExternalRef

Increments the internal reference count for this API object.

addExternalRef

Increments the internal reference count for this API object.

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.

release

Releases the API object pointer.

size

Helper function to return the number of vertices in the shape.

vertex

Helper function for obtaining coordinates of vertices in the shape.


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