Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 |
class Combiner extends Material editinlinenew native; enum EColorOperation { CO_Use_Color_From_Material1, CO_Use_Color_From_Material2, CO_Multiply, CO_Add, CO_Subtract, CO_AlphaBlend_With_Mask, CO_Add_With_Mask_Modulation, CO_Use_Color_From_Mask, }; enum EAlphaOperation { AO_Use_Mask, AO_Multiply, AO_Add, AO_Use_Alpha_From_Material1, AO_Use_Alpha_From_Material2, }; var() EColorOperation CombineOperation; var() EAlphaOperation AlphaOperation; var() editinlineuse Material Material1; var() editinlineuse Material Material2; var() editinlineuse Material Mask; var() bool InvertMask; var() bool Modulate2X; var() bool Modulate4X; #if IG_SHARED // Paul: functions to retreive the uSize & vSize of the material function int GetUSize() { local int mat1Size; local int mat2Size; if(Material1 != None) mat1Size = Material1.GetUSize(); if(Material2 != None) mat2Size = Material2.GetUSize(); return Max(mat1Size, mat2Size); } function int GetVSize() { local int mat1Size; local int mat2Size; if(Material1 != None) mat1Size = Material1.GetVSize(); if(Material2 != None) mat2Size = Material2.GetVSize(); return Max(mat1Size, mat2Size); } #endif defaultproperties { AlphaOperation=AO_Use_Mask; #if IG_RENDERER // rowan: set Materialtype for quick casts MaterialType = MT_Combiner #endif } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |