PathEngine home previous: iMesh::getSectionID()next: iMesh::hasRefs()
Contents, API Reference, Interfaces, iMesh, getSurfaceType

iMesh::getSurfaceType()

Description

Queries for the surface type value associated with the given position on a ground mesh.

Syntax

int32_t getSurfaceType(const cPosition& position) const;

Parameters

position This must be a valid cPosition on this mesh.

Return Value

The value of the surface type attribute for the ground at the specified position.

Remarks

Surface types can be applied to faces by specifying the PE_FaceAttribute_SurfaceTyoe face attribute when building a ground mesh.

C# Mapping

int getSurfaceType(PathEngine.Position position);

Java Mapping

int getSurfaceType(Position position);

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