PathEngine home previous: iMesh::loadUnobstructedSpaceFor()next: iMesh::newObstacleSet()
Contents, API Reference, Interfaces, iMesh, newContext

iMesh::newContext()

Description

Creates an Interface iCollisionContext to representing a state of dynamic collision for this mesh.

Syntax

iCollisionContext* newContext() const;

Return Value

A newly created Interface iCollisionContext.

Remarks

The created Interface iCollisionContext can be explicitly deleted when no longer required, but will also be deleted when this mesh is released. In either case the pointer can no longer be used.

C# Mapping

CollisionContext newContext();

Java Mapping

CollisionContext newContext();

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMesh::newObstacleSet()