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 |
// Combine multiple textures. // Written by Marco Class TexCombiner extends Texture Native; enum ECombineOperation { CO_Add, // Mat1 + Mat2 color CO_Subtract, // Mat1 - Mat2 color CO_MaskOnly, // Do only masking operation on Mat1 CO_OverlayWithTransp // Do overlay on Mat1 with translucent version of Mat2*Mask color. }; var() ECombineOperation CombineOperation; var() int MatUSize,MatVSize; var() texture Material1,Material2,MaskTexture; var() int MaterialAScale[2],MaterialBScale[2],MaterialCScale[2]; var const texture SoftwareFallback; var() bool bStaticFrame; // Fast render, only for non-animating textures. var transient bool bComputedFrame; // When 'bStaticFrame', frame is already computed, no need for update anymore. defaultproperties { CombineOperation=CO_OverlayWithTransp MatUSize=64 MatVSize=64 SoftwareFallback=Texture'Engine.DefaultTexture' bStaticFrame=True bRealtime=True Format=TEXF_RGB32 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |