Mostly Harmless

UE2:Material (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Material

Contents

Package: 
Engine
Direct subclasses:
Combiner, Modifier, RenderedMaterial
This class in other games:
U2, UDK, UE2Runtime, UT2003, UT2004, UT3

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

[edit] Properties

[edit] Property group 'Material'

[edit] FallbackMaterial

Type: Material


[edit] TextureType

Type: ETextureType

Modifiers: const

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

[edit] Internal variables

[edit] DefaultFallback

Type: Material

NEW (mwp)

Default value: Texture'Engine.FallbackTexture'

[edit] DefaultMaterial

Type: Material


Default value: Texture'Engine.DefaultTexture'

[edit] UseFallback

Type: bool

Modifiers: const, transient

Render device should use the fallback.

[edit] Validated

Type: bool

Modifiers: const, transient


[edit] Enums

[edit] ETextureType

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 

[edit] Structs

[edit] CheckResult

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()

[edit] Functions

[edit] Static native functions

[edit] GetHitTexture

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


[edit] GetHitTextureType

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


[edit] ResetModifiers

native static final function ResetModifiers (optional float Value)


[edit] Instance functions

[edit] ForceDependencies

function ForceDependencies ()


[edit] Reset

function Reset ()


[edit] Trigger

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


Personal tools