Gah - a solution with more questions. – EntropicLqd

Difference between revisions of "UE2:Combiner (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
m (added most descriptions)
 
Line 4: Line 4:
 
| parent2 = Object
 
| parent2 = Object
 
}}
 
}}
{{autogenerated}}
+
{{expand}}
null
+
  
 
==Properties==
 
==Properties==
Line 12: Line 11:
 
'''Type:''' {{tl|EAlphaOperation}}
 
'''Type:''' {{tl|EAlphaOperation}}
  
<!-- enter variable description -->
+
How to calculate the alpha channel of the combiner.
  
 
'''Default value:''' {{tl|EAlphaOperation|||AO_Use_Mask}}
 
'''Default value:''' {{tl|EAlphaOperation|||AO_Use_Mask}}
Line 19: Line 18:
 
'''Type:''' {{tl|EColorOperation}}
 
'''Type:''' {{tl|EColorOperation}}
  
<!-- enter variable description -->
+
How to calculate the RGB channel of the combiner.
  
 
====InvertMask====
 
====InvertMask====
 
'''Type:''' [[bool]]
 
'''Type:''' [[bool]]
  
<!-- enter variable description -->
+
Whether the alpha channel of the {{tl|Mask}} should be inverted.
  
 
====Mask====
 
====Mask====
Line 31: Line 30:
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
  
<!-- enter variable description -->
+
The mask material.
  
 
====Material1====
 
====Material1====
Line 38: Line 37:
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
  
<!-- enter variable description -->
+
The first material.
  
 
====Material2====
 
====Material2====
Line 45: Line 44:
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
 
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse
  
<!-- enter variable description -->
+
The second material.
  
 
====Modulate2X====
 
====Modulate2X====
Line 61: Line 60:
 
'''Type:''' [[int]]
 
'''Type:''' [[int]]
  
hammer padding.  --ryan.
+
<!-- enter variable description -->
 
+
<noinclude>
 
===Default values===
 
===Default values===
 
{| class="list defaults"
 
{| class="list defaults"
Line 71: Line 70:
 
| 2
 
| 2
 
|}
 
|}
 
+
</noinclude>
 
==Enums==
 
==Enums==
 
====EAlphaOperation====
 
====EAlphaOperation====
<!-- enter enum description -->
+
How to calculate the combiner's alpha channel.
; AO_Use_Mask : <!-- enter enum value description -->
+
; AO_Use_Mask : Use the alpha channel of the {{tl|Mask}}.
; AO_Multiply : <!-- enter enum value description -->
+
; AO_Multiply : Multiply the alpha channels of {{tl|Material1}} and {{tl|Material2}}.
; AO_Add : <!-- enter enum value description -->
+
; AO_Add : Add the alpha channels of Material1 and Material2.
; AO_Use_Alpha_From_Material1 : <!-- enter enum value description -->
+
; AO_Use_Alpha_From_Material1 : Use the alpha channel of Material1.
; AO_Use_Alpha_From_Material2 : <!-- enter enum value description -->
+
; AO_Use_Alpha_From_Material2 : Use the alpha channel of Material2.
  
 
====EColorOperation====
 
====EColorOperation====
<!-- enter enum description -->
+
How to calculate the combiner's RGB channels.
; CO_Use_Color_From_Material1 : <!-- enter enum value description -->
+
; CO_Use_Color_From_Material1 : Use the RGB channels from {{tl|Material1}}.
; CO_Use_Color_From_Material2 : <!-- enter enum value description -->
+
; CO_Use_Color_From_Material2 : Use the RGB channels from {{tl|Material2}}.
; CO_Multiply : <!-- enter enum value description -->
+
; CO_Multiply : Add the RGB channels of Material1 and Material2.
; CO_Add : <!-- enter enum value description -->
+
; CO_Add : Add the RGB channels of Material1 and Material2.
; CO_Subtract : <!-- enter enum value description -->
+
; CO_Subtract : Subtracts the RGB channel of Material1 from Material2.
; CO_AlphaBlend_With_Mask : <!-- enter enum value description -->
+
; CO_AlphaBlend_With_Mask : Blends Material1 with Material2 using the alpha channel of {{tl|Mask}}.
 
; CO_Add_With_Mask_Modulation : <!-- enter enum value description -->
 
; CO_Add_With_Mask_Modulation : <!-- enter enum value description -->
; CO_Use_Color_From_Mask : <!-- enter enum value description -->
+
; CO_Use_Color_From_Mask : Use the RGB channels from Mask.

Latest revision as of 08:20, 14 July 2010

UT2004 Object >> Material >> Combiner
Package: 
Engine
This class in other games:
UT2003, U2, U2XMP, UE2Runtime


Properties[edit]

Property group 'Combiner'[edit]

AlphaOperation[edit]

Type: EAlphaOperation

How to calculate the alpha channel of the combiner.

Default value: AO_Use_Mask

CombineOperation[edit]

Type: EColorOperation

How to calculate the RGB channel of the combiner.

InvertMask[edit]

Type: bool

Whether the alpha channel of the Mask should be inverted.

Mask[edit]

Type: Material

Modifiers: editinlineuse

The mask material.

Material1[edit]

Type: Material

Modifiers: editinlineuse

The first material.

Material2[edit]

Type: Material

Modifiers: editinlineuse

The second material.

Modulate2X[edit]

Type: bool


Modulate4X[edit]

Type: bool


Internal variables[edit]

combiner_dummy[edit]

Type: int


Default values[edit]

Property Value
MaterialType 2

Enums[edit]

EAlphaOperation[edit]

How to calculate the combiner's alpha channel.

AO_Use_Mask 
Use the alpha channel of the Mask.
AO_Multiply 
Multiply the alpha channels of Material1 and Material2.
AO_Add 
Add the alpha channels of Material1 and Material2.
AO_Use_Alpha_From_Material1 
Use the alpha channel of Material1.
AO_Use_Alpha_From_Material2 
Use the alpha channel of Material2.

EColorOperation[edit]

How to calculate the combiner's RGB channels.

CO_Use_Color_From_Material1 
Use the RGB channels from Material1.
CO_Use_Color_From_Material2 
Use the RGB channels from Material2.
CO_Multiply 
Add the RGB channels of Material1 and Material2.
CO_Add 
Add the RGB channels of Material1 and Material2.
CO_Subtract 
Subtracts the RGB channel of Material1 from Material2.
CO_AlphaBlend_With_Mask 
Blends Material1 with Material2 using the alpha channel of Mask.
CO_Add_With_Mask_Modulation 
CO_Use_Color_From_Mask 
Use the RGB channels from Mask.