Cogito, ergo sum

UE3:InstancedStaticMeshComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> PrimitiveComponent >> MeshComponent >> StaticMeshComponent >> InstancedStaticMeshComponent
Package: 
Engine


Properties

Property group 'InstancedStaticMeshComponent'

InstancingRandomSeed

Type: int

Value used to seed the random number stream that generates random numbers for each of this mesh's instances. The random number is stored in a buffer accessible to materials through the PerInstanceRandom expression. If this is set to zero (default), it will be populated automatically by the editor

Internal variables

CachedMappings

Type: array<InstancedStaticMeshMappingInfo>

Modifiers: transient

The mappings for all the instances of this component

ComponentJoinKey

Type: int

A key for deciding which components are compatible when joining components together after a lighting build. Will default to the staticmesh pointer when SetStaticMesh is called, so this must be set after calling SetStaticMesh on the component

NumPendingLightmaps

Type: int

Modifiers: transient

Number of pending lightmaps still to be calculated (Apply()'d)

PerInstanceData

Type: array<InstancedStaticMeshInstanceData>

Array of instances

Structs

InstancedStaticMeshInstanceData

Modifiers: native

Object.Matrix Transform 
Object.Vector2D LightmapUVBias 
Object.Vector2D ShadowmapUVBias 

InstancedStaticMeshMappingInfo

Modifiers: native

pointer{class FInstancedStaticMeshStaticLightingTextureMapping} Mapping 
pointer{class FInstancedLightMap2D} Lightmap 
Texture2D LightmapTexture 
ShadowMap2D ShadowmapTexture