29 lines
879 B
Ucode
29 lines
879 B
Ucode
|
/**
|
||
|
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
||
|
*/
|
||
|
class MaterialExpressionFluidNormal extends MaterialExpression
|
||
|
native(Material)
|
||
|
collapsecategories
|
||
|
hidecategories(Object);
|
||
|
|
||
|
/** Optional texture coordinates for the fluid normal. If not specified, the mesh's UV0 will be used. */
|
||
|
var ExpressionInput Coordinates;
|
||
|
|
||
|
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
|
||
|
{
|
||
|
MenuCategories(0)="Texture"
|
||
|
}
|