PathEngine home previous: iMesh::newObstacleSet()next: iMesh::placeAgent()
Contents, API Reference, Interfaces, iMesh, newObstacleSet_WithAttributes

iMesh::newObstacleSet_WithAttributes()

Description

Creates a free standing obstacle set.

Syntax

iObstacleSet* newObstacleSet_WithAttributes(const char *const* attributes) const;

Parameters

attributes A set of attribute and value pairs that can be used to control the behaviour of the created obstacle set.
See Obstacle Set Creation Attributes for information about the attributes that can be passed in to this parameter.
When creating 'preprocessed obstacle sets', Pathfind Preprocess Attributes can also be included, and these will then be passed in to the preprocess generation stage.

Return Value

A newly created Interface iObstacleSet.

Remarks

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

This method enables obstacles sets to be marked for extended preprocessing.


Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEnginenext: iMesh::placeAgent()