31 lines
895 B
Ucode
31 lines
895 B
Ucode
|
/**
|
||
|
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
||
|
*/
|
||
|
class MaterialExpressionDestColor extends MaterialExpression
|
||
|
native(Material)
|
||
|
collapsecategories
|
||
|
hidecategories(Object);
|
||
|
|
||
|
/**
|
||
|
* MaterialExpressionDestColor:
|
||
|
* Gives the color value at the current screen position destination
|
||
|
* for use in a material
|
||
|
*/
|
||
|
|
||
|
cpptext
|
||
|
{
|
||
|
virtual INT Compile(FMaterialCompiler* Compiler, INT OutputIndex);
|
||
|
virtual FString GetCaption() const;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
MenuCategories(0)="Destination"
|
||
|
MenuCategories(1)="Color"
|
||
|
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)
|
||
|
}
|