PathEngine home previous: iCollisionContext::refAgent()next: iCollisionContext::removeAgent()
Contents, API Reference, Interfaces, iCollisionContext, release

iCollisionContext::release()

Description

Releases the API object pointer.

Syntax

void release() const { decRef(); }

Remarks

This method should be called as soon as the API object is no longer required.

Note that this method can be called directly, but can also be called indirectly through a custom operator delete, by simply deleting the pointer. (Don't do both!)

After calling this method, no further method calls should be made on this object, and the object pointer should not be passed in as a direct or indirect argument to any other API methods. (The API object pointer is now invalid, and should be discarded.)

After calling this method PathEngine is free to delete the API object, but will not actually do so until all other references to the object have also been released.

C# Mapping

void release();

Java Mapping

void release();

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iCollisionContext::removeAgent()