GARMesh

Object that holds geometry mesh and transform data for GARStreetscapeGeometry.

This object is immutable.

Summary

Inheritance

Inherits from: NSObject

Properties

triangleCount
NSUInteger
Number of triangles in the geometry mesh.
triangles
A buffer of GARIndexTriangle.
vertexCount
NSUInteger
Number of vertices in the geometry mesh.
vertices
const GARVertex *
A buffer of GARVertex, which stores 3D vertex locations.

Properties

triangleCount

@property(nonatomic, readonly) NSUInteger triangleCount;

Number of triangles in the geometry mesh.

This is equivalent to the number of elements in triangles.

triangles

@property(nonatomic, readonly) const GARIndexTriangle *triangles;

A buffer of GARIndexTriangle.

The indices within each triangle are indices into the vertices array.

vertexCount

@property(nonatomic, readonly) NSUInteger vertexCount;

Number of vertices in the geometry mesh.

vertices

@property(nonatomic, readonly) const GARVertex *vertices;

A buffer of GARVertex, which stores 3D vertex locations.

These vertices are relative to the geometry transform of the geometry. Units are in meters.