UE2:Material (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
U2XMP Object >> Material
Package: 
Engine

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

Properties

Property group 'Material'

FallbackMaterial

Type: Material


TextureType

Type: ETextureType

Modifiers: const

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

Internal variables

DefaultFallback

Type: Material

NEW (mwp)

Default value: Texture'Engine.FallbackTexture'

DefaultMaterial

Type: Material


Default value: Texture'Engine.DefaultTexture'

UseFallback

Type: bool

Modifiers: const, transient

Render device should use the fallback.

Validated

Type: bool

Modifiers: const, transient


Enums

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 

Structs

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

Functions

Static native functions

GetHitTexture

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


GetHitTextureType

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


ResetModifiers

native static final function ResetModifiers (optional float Value)


Instance functions

ForceDependencies

function ForceDependencies ()


Reset

function Reset ()


Trigger

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