Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpCrowdParam Struct Reference
[RpCrowd]

Collaboration diagram for RpCrowdParam:
Collaboration graph

Data Fields

RpAtomic base
RwUInt32  densityU
RwUInt32  densityV
RwV3d  up
RwReal  height
RwUInt32  numTextures
RwUInt32  numTexCols
RwUInt32  numTexRows
RpCrowdTexture **  textures
RwUInt32  numAnims
RpCrowdAnimation **  anims

Detailed Description

Crowd parameters for use with RpCrowdCreate, specifying information about the crowd geometry, textures, and animations.

An internal copy of this structure is stored, and may be accessed (read only) at a later time using RpCrowdGetParam. Note however, that depending on the platform, the original base atomic and crowd textures may no longer be referenced after creation (see RpCrowdCreate).

See also:
RpCrowd Plugin Overview

Field Documentation

RpCrowdAnimation** anims
 

RpCrowdAnimation array

RpAtomic* base
 

Base atomic - triangle pairs form quads representing the crowd seating sections. See RpCrowd Plugin Overview.

RwUInt32 densityU
 

Number of crowd spectators across a billboard per unit of a base quad's U texture coordinate

RwUInt32 densityV
 

Number of crowd rows per unit of a base quad's V texture coordinate. eg a base quad mapped to uv range [0,0],[1,1] has densityU number of people in densityV number of rows.

RwReal height
 

Height of a billboard in world units

RwUInt32 numAnims
 

Number of animations in the array

RwUInt32 numTexCols
 

Number of columns in an RpCrowdTexture

RwUInt32 numTexRows
 

Number of rows in an RpCrowdTexture

RwUInt32 numTextures
 

Number of textures in the array

RpCrowdTexture** textures
 

RpCrowdTexture array

RwV3d up
 

World space up-vector (see platform notes)


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:05 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)