PathEngine home previous: iPathEngine::largeStaticObstacleShapeIsValid()next: iPathEngine::loadExpanded2DObstacles()
Contents, API Reference, Interfaces, iPathEngine, loadContentChunk

iPathEngine::loadContentChunk()

Description

Constructs an iContentChunk object from a data buffer previously saved out by iContentChunk::save().

Syntax

std::unique_ptr<iContentChunk> loadContentChunk(char const * data_Buffer, uint32_t data_BufferEntries)

Parameters

data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.

Return Value

If the data passed in is valid then a newly created Interface iContentChunk object is returned.
Otherwise fatal or non-fatal errors may be reported. If the method succeeds with non-fatal errors then zero may be returned to indicate failure to load.

See Also

iPathEngine::newContentChunk()

C# Mapping

ContentChunk loadContentChunk(byte[] data);

Java Mapping

ContentChunk loadContentChunk(byte[] data);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iPathEngine::loadExpanded2DObstacles()