UE3:StaticMeshActorBasedOnExtremeContent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> Actor >> StaticMeshActorBasedOnExtremeContent
Package:
Engine

This is an actor which can be used to change its material based on whether Extreme Content is on or not

We need to subclass Actor instead of StaticMeshActorBase in order to get PostBeginPlay() called on us

Properties

Property group 'StaticMeshActorBasedOnExtremeContent'

ExtremeContent

Type: array<SMMaterialSetterDatum>

The material to use for ExtremeContent (e.g. blood and gore!) *

NonExtremeContent

Type: array<SMMaterialSetterDatum>

The material to use for NonExtremeContent (e.g. blackness everywhere there used to be blood and gore) *

StaticMeshComponent

Type: StaticMeshComponent

Modifiers: const, editconst


Default value: StaticMeshComponent'StaticMeshComponent0'

Default values

Subobjects

StaticMeshComponent0

Class: Engine.StaticMeshComponent

Structs

SMMaterialSetterDatum

Modifiers: native

This is set so the LD can map specific MaterialIndex on the target to some material *

int MaterialIndex
MaterialInterface TheMaterial

Functions

Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

SetMaterialBasedOnExtremeContent

simulated function SetMaterialBasedOnExtremeContent ()

This will set the material of this Actor based on the ExtremeContent setting. *