Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:Material (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Material
Package: 
Engine
Direct subclasses:
Combiner, Modifier, RenderedMaterial
This class in other games:
U2, UE2Runtime, UT2003, UT2004, UDK, UT3

Material: Abstract material class This is a built-in Unreal class and it shouldn't be modified.

Properties[edit]

Property group 'Material'[edit]

FallbackMaterial[edit]

Type: Material


TextureType[edit]

Type: ETextureType

Modifiers: const

NEW (mwp) Type of texture/material (e.g., used for texture-specific sounds)

Internal variables[edit]

DefaultFallback[edit]

Type: Material

NEW (mwp)

Default value: Texture'Engine.FallbackTexture'

DefaultMaterial[edit]

Type: Material


Default value: Texture'Engine.DefaultTexture'

UseFallback[edit]

Type: bool

Modifiers: const, transient

Render device should use the fallback.

Validated[edit]

Type: bool

Modifiers: const, transient


Enums[edit]

ETextureType[edit]

TT_Default 
must be first entry (value=0)
TT_None 
must be second entry (value=1) no sound on this surface
TT_Skin 
must be third entry (value=2) blood effects handled by DamageType
TT_AlienSoft 
TT_AlienWet 
TT_Aluminum 
TT_Bone 
TT_Bouncy 
TT_Cloth 
TT_Deck 
hollow wood surface
TT_Dirt 
TT_Glass 
TT_Grass 
TT_Gravel 
TT_Ice 
TT_Leaves 
TT_Marble 
TT_Membrane 
TT_Metal 
TT_MetalHollow 
TT_Mud 
TT_Plastic 
TT_PlasticHollow 
TT_Puddle 
TT_Rubber 
TT_Rug 
TT_SafetyGlass 
TT_Synthetics 
TT_SnowHard 
crunchy snow
TT_SnowSoft 
fresh, soft snow
TT_Soil 
TT_Sticks 
TT_Stone 
TT_Water 
TT_Wood 
TT_ForceWall 

Structs[edit]

CheckResult[edit]

Object Next 
IteratorList*
Actor Actor 
Object.Vector Location 
Location of the hit in coordinate system of the returner.
Object.Vector Normal 
Normal vector in coordinate system of the returner. Zero=none.
Primitive Primitive 
Actor primitive which was hit, or NULL=none.
float Time 
Time until hit, if line check.
int Item 
Primitive data item which was hit, INDEX_NONE=none.
Material Material 
Material cached by LineCheck()

Functions[edit]

Static native functions[edit]

GetHitTexture[edit]

native(1090) static final function Material GetHitTexture (CheckResult Hit)


GetHitTextureType[edit]

native(1089) static final function ETextureType GetHitTextureType (CheckResult Hit)


ResetModifiers[edit]

native static final function ResetModifiers (optional float Value)


Instance functions[edit]

ForceDependencies[edit]

function ForceDependencies ()


Reset[edit]

function Reset ()


Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)