1
0
KF2-Dev-Scripts/Engine/Classes/MaterialInstanceActor.uc

35 lines
857 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*
* Utility class designed to allow you to connect a MaterialInterface to a Matinee action.
*/
class MaterialInstanceActor extends Actor
native
placeable
hidecategories(Movement)
hidecategories(Advanced)
hidecategories(Collision)
hidecategories(Display)
hidecategories(Actor)
hidecategories(Attachment);
/** Pointer to MaterialInterface that we want to control paramters of using Matinee. */
var() MaterialInstanceConstant MatInst;
defaultproperties
{
TickGroup=TG_DuringAsyncWork
Begin Object Class=SpriteComponent Name=Sprite
Sprite=Texture2D'EditorResources.MatInstActSprite'
HiddenGame=true
AlwaysLoadOnClient=False
AlwaysLoadOnServer=False
SpriteCategoryName="Materials"
End Object
Components.Add(Sprite)
bNoDelete=true
}