25 lines
618 B
Ucode
25 lines
618 B
Ucode
|
/**
|
||
|
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
||
|
*/
|
||
|
class SeqAct_SetMaterial extends SequenceAction
|
||
|
native(Sequence);
|
||
|
|
||
|
/** Material to apply to target when action is activated. */
|
||
|
var() MaterialInterface NewMaterial;
|
||
|
|
||
|
/** Index in the Materials array to replace with NewMaterial when this action is activated. */
|
||
|
var() INT MaterialIndex;
|
||
|
|
||
|
cpptext
|
||
|
{
|
||
|
// UObject interface.
|
||
|
virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent);
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
ObjName="Set Material"
|
||
|
ObjCategory="Actor"
|
||
|
VariableLinks[0]=(bModifiesLinkedObject=true)
|
||
|
}
|