34 lines
1.1 KiB
Ucode
34 lines
1.1 KiB
Ucode
|
/**
|
||
|
* Copyright 1998-2010 Epic Games, Inc. All Rights Reserved.
|
||
|
*/
|
||
|
class MaterialExpressionSPHFluidVertexColor extends MaterialExpression
|
||
|
native(Material)
|
||
|
collapsecategories
|
||
|
hidecategories(Object);
|
||
|
|
||
|
var Texture DefaultTexture;
|
||
|
|
||
|
cpptext
|
||
|
{
|
||
|
virtual INT Compile(FMaterialCompiler* Compiler, INT OutputIndex);
|
||
|
virtual FString GetCaption() const;
|
||
|
|
||
|
/**
|
||
|
* Replaces references to the passed in expression with references to a different expression or NULL.
|
||
|
* @param OldExpression Expression to find reference to.
|
||
|
* @param NewExpression Expression to replace reference with.
|
||
|
*/
|
||
|
virtual void SwapReferenceTo(UMaterialExpression* OldExpression,UMaterialExpression* NewExpression = NULL);
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
DefaultTexture=Texture2D'EngineResources.DefaultTexture'
|
||
|
MenuCategories(0)="Texture"
|
||
|
Outputs(0)=(OutputName="",Mask=1,MaskR=1,MaskG=1,MaskB=1,MaskA=0)
|
||
|
Outputs(1)=(OutputName="",Mask=1,MaskR=1,MaskG=0,MaskB=0,MaskA=0)
|
||
|
Outputs(2)=(OutputName="",Mask=1,MaskR=0,MaskG=1,MaskB=0,MaskA=0)
|
||
|
Outputs(3)=(OutputName="",Mask=1,MaskR=0,MaskG=0,MaskB=1,MaskA=0)
|
||
|
Outputs(4)=(OutputName="",Mask=1,MaskR=0,MaskG=0,MaskB=0,MaskA=1)
|
||
|
}
|