PathEngine home previous: iAgent::setTraverseCostDirection()next: iAgent::testCollisionAt()
Contents, API Reference, Interfaces, iAgent, setUserData

iAgent::setUserData()

Description

Enables the client application to associate arbitrary application data with an agent.

Syntax

void setUserData(int64_t value);

Parameters

value Arbitrary user data to associate with the agent.

Remarks

The user data is initialised to zero.

Note that the client application will be responsable for ensuring that this data remains valid after save and load from persistence.

The value can be later retrieved with iAgent::getUserData().

C# Mapping

void setUserData(long value);

Java Mapping

void setUserData(long value);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iAgent::testCollisionAt()