I don't need to test my programs. I have an error-correcting modem.

UE3:Material (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Surface >> MaterialInterface >> Material
Package: 
Engine
Known classes within Material:
MaterialExpression, MaterialExpressionAbs, MaterialExpressionAdd, MaterialExpressionAppendVector, MaterialExpressionBumpOffset, MaterialExpressionCameraVector, MaterialExpressionCameraWorldPosition, MaterialExpressionCeil, MaterialExpressionClamp, MaterialExpressionComment, MaterialExpressionComponentMask, MaterialExpressionCompound, MaterialExpressionConstant, MaterialExpressionConstant2Vector, MaterialExpressionConstant3Vector, MaterialExpressionConstant4Vector, MaterialExpressionConstantBiasScale, MaterialExpressionConstantClamp, MaterialExpressionCosine, MaterialExpressionCrossProduct, MaterialExpressionCustom, MaterialExpressionCustomTexture, MaterialExpressionDepthBiasBlend, MaterialExpressionDepthBiasedAlpha, MaterialExpressionDepthBiasedBlend, MaterialExpressionDeriveNormalZ, MaterialExpressionDesaturation, MaterialExpressionDestColor, MaterialExpressionDestDepth, MaterialExpressionDivide, MaterialExpressionDotProduct, MaterialExpressionDynamicParameter, MaterialExpressionFlipBookSample, MaterialExpressionFloor, MaterialExpressionFluidNormal, MaterialExpressionFmod, MaterialExpressionFontSample, MaterialExpressionFontSampleParameter, MaterialExpressionFrac, MaterialExpressionFresnel, MaterialExpressionIf, MaterialExpressionLensFlareIntensity, MaterialExpressionLensFlareOcclusion, MaterialExpressionLensFlareRadialDistance, MaterialExpressionLensFlareRayDistance, MaterialExpressionLensFlareSourceDistance, MaterialExpressionLightmapUVs, MaterialExpressionLightmassReplace, MaterialExpressionLightVector, MaterialExpressionLinearInterpolate, MaterialExpressionMeshEmitterDynamicParameter, MaterialExpressionMeshEmitterVertexColor, MaterialExpressionMeshSubUV, MaterialExpressionMeshSubUVBlend, MaterialExpressionMultiply, MaterialExpressionNormalize, MaterialExpressionObjectOrientation, MaterialExpressionObjectRadius, MaterialExpressionObjectWorldPosition, MaterialExpressionOneMinus, MaterialExpressionPanner, MaterialExpressionParameter, MaterialExpressionParticleMacroUV, MaterialExpressionParticleSubUV, MaterialExpressionPixelDepth, MaterialExpressionPower, MaterialExpressionReflectionVector, MaterialExpressionRotator, MaterialExpressionScalarParameter, MaterialExpressionSceneDepth, MaterialExpressionSceneTexture, MaterialExpressionScreenPosition, MaterialExpressionSine, MaterialExpressionSquareRoot, MaterialExpressionStaticComponentMaskParameter, MaterialExpressionStaticSwitchParameter, MaterialExpressionSubtract, MaterialExpressionTextureCoordinate, MaterialExpressionTextureSample, MaterialExpressionTextureSampleParameter, MaterialExpressionTextureSampleParameter2D, MaterialExpressionTextureSampleParameterCube, MaterialExpressionTextureSampleParameterMeshSubUV, MaterialExpressionTextureSampleParameterMeshSubUVBlend, MaterialExpressionTextureSampleParameterMovie, MaterialExpressionTextureSampleParameterNormal, MaterialExpressionTextureSampleParameterSubUV, MaterialExpressionTime, MaterialExpressionTransform, MaterialExpressionTransformPosition, MaterialExpressionVectorParameter, MaterialExpressionVertexColor, MaterialExpressionWindDirectionAndSpeed, MaterialExpressionWorldPosition, MaterialExpressionAntialiasedTextureMask, MaterialExpressionDistance, MaterialExpressionFoliageImpulseDirection, MaterialExpressionFoliageNormalizedRotationAxisAndAngle, MaterialExpressionOcclusionPercentage, MaterialExpressionPerInstanceRandom, MaterialExpressionRotateAboutAxis, MaterialExpressionSphereMask, MaterialExpressionTwoSidedSign, MaterialExpressionWorldNormal
Direct subclass:
DecalMaterial
This class in other games:
U2, UE2Runtime, UT2003, UT2004, U2XMP, UT3


Properties

See Material properties.

Enums

EBlendMode

BLEND_Opaque 
BLEND_Masked 
BLEND_Translucent 
BLEND_Additive 
BLEND_Modulate 

EMaterialLightingModel

MLM_Phong 
MLM_NonDirectional 
MLM_Unlit 
MLM_SHPRT 
MLM_Custom 
MLM_Anisotropic 

Structs

ColorMaterialInput

Extends: MaterialInput

bool UseConstant 
Object.Color Constant 

MaterialInput

MaterialExpression Expression 
int Mask 
int MaskR 
int MaskG 
int MaskB 
int MaskA 
int GCC64_Padding 
Todo: 64: if the C++ didn't mismirror this structure (with ExpressionInput), we might not need this

ScalarMaterialInput

Extends: MaterialInput

bool UseConstant 
float Constant 

Vector2MaterialInput

Extends: MaterialInput

bool UseConstant 
float ConstantX 
float ConstantY 

VectorMaterialInput

Extends: MaterialInput

bool UseConstant 
Object.Vector Constant 

Instance functions

GetTextures

function array<TextureGetTextures ()

returns the Referneced Textures so one may set flats on them (e.g. bForceMiplevelsToBeResident ) *