Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:InstancedStaticMeshComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:40, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 2))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> PrimitiveComponent >> MeshComponent >> StaticMeshComponent >> InstancedStaticMeshComponent
Package: 
Engine


Properties[edit]

Property group 'InstancedStaticMeshComponent'[edit]

InstancingRandomSeed[edit]

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[edit]

CachedMappings[edit]

Type: array<InstancedStaticMeshMappingInfo>

Modifiers: transient

The mappings for all the instances of this component

ComponentJoinKey[edit]

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[edit]

Type: int

Modifiers: transient

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

PerInstanceData[edit]

Type: array<InstancedStaticMeshInstanceData>

Array of instances

Structs[edit]

InstancedStaticMeshInstanceData[edit]

Modifiers: native

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

InstancedStaticMeshMappingInfo[edit]

Modifiers: native

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