PathEngine home previous: iMesh::promoteBackgroundPreprocessFor()next: iMesh::release()
Contents, API Reference, Interfaces, iMesh, refGround

iMesh::refGround()

Description

A helper function to access the ground surface object for a mesh.

Syntax

const iGround& refGround() const;

Return Value

The ground surface for this mesh.

Remarks

Unlike iMesh::getGround(), the API object reference count for the ground is not incremented. The returned reference should not be converted to a pointer, it's release() method should not be called, and it should only be considered valid as long as a reference is held to the mesh object you call this on.

C# Mapping

Ground refGround();

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