Skip to content

Material

Class in Engine · Engine.Material · native

Object › Surface › MaterialInterface › Material

Subclasses: DecalMaterial

Using it from Lua
h7.find_all("Material")            -- live instances
h7.find_class("Engine.Material")   -- the class

Structs

ColorMaterialInput

Struct extends MaterialInput

FieldType
UseConstantbool
Constantcolor

MaterialFunctionInfo

FieldType
StateIdguid
FunctionMaterialFunction

MaterialInput

FieldType
ExpressionMaterialExpression
OutputIndexint
InputNamestring
Maskint
MaskRint
MaskGint
MaskBint
MaskAint
GCC64_Paddingint

ScalarMaterialInput

Struct extends MaterialInput

FieldType
UseConstantbool
Constantfloat

Vector2MaterialInput

Struct extends MaterialInput

FieldType
UseConstantbool
ConstantXfloat
ConstantYfloat

VectorMaterialInput

Struct extends MaterialInput

FieldType
UseConstantbool
Constantvector

Properties

NameTypeNotes
AnisotropicDirectionVectorMaterialInput
bAllowFogbool
bAllowLightmapSpecularbool
bAllowTranslucencyDoFbool
bCastLitTranslucencyShadowAsMaskedbool
bDisableDepthTestbool
bEnableCrackFreeDisplacementboolconst
bEnableMaskedAntialiasingbool
bIsFallbackMaterialbool
bIsMaskedboolprivate
bIsPreviewMaterialbooltransient, private
BlackPhysicalMaterialPhysicalMaterial
BlendModeEBlendMode
bPerPixelCameraVectorbool
bSceneTextureRenderBehindTranslucencybool
bTranslucencyInheritDominantShadowsFromOpaquebool
bTranslucencyReceiveDominantShadowsFromStaticbool
bUsedAsLightFunctionboolconst
bUsedAsSpecialEngineMaterialboolconst
bUsedWithAPEXMeshesboolconst
bUsedWithBeamTrailsboolconst
bUsedWithDecalsboolconst
bUsedWithFluidSurfacesboolconst
bUsedWithFogVolumesboolconst
bUsedWithFracturedMeshesboolconst
bUsedWithGammaCorrectionboolconst
bUsedWithHitProxyTranslucentboolno declaration: type is approximate
bUsedWithInstancedMeshesboolconst
bUsedWithInstancedMeshParticlesboolconst
bUsedWithLandscapeboolconst
bUsedWithLensFlareboolconst
bUsedWithMaterialEffectboolconst
bUsedWithMobileLandscapeboolconst
bUsedWithMorphTargetsboolconst
bUsedWithOutlineboolno declaration: type is approximate
bUsedWithParticleSpritesboolconst
bUsedWithParticleSubUVboolconst
bUsedWithParticleSystemboolconst
bUsedWithRadialBlurboolconst
bUsedWithScreenDoorFadeboolconst
bUsedWithSkeletalMeshboolconst
bUsedWithSpeedTreeboolconst
bUsedWithSplineMeshesboolconst
bUsedWithStaticLightingboolconst
bUsedWithTerrainboolconst
bUseImageBasedReflectionsbool
bUseLitTranslucencyDepthPassbool
bUseLitTranslucencyPostRenderDepthPassbool
bUseOneLayerDistortionbool
bUsesDistortionboolprivate
CustomLightingColorMaterialInput
CustomSkylightDiffuseColorMaterialInput
D3D11TessellationModeEMaterialTessellationModeconst
DefaultMaterialInstancespointer[3]const, native
DiffuseColorColorMaterialInput
DiffusePowerScalarMaterialInput
DistortionVector2MaterialInput
EditorCommentsarray<MaterialExpressionComment>
EditorParametersmapnative
EditorPitchint
EditorXint
EditorYint
EditorYawint
EmissiveColorColorMaterialInput
EnableSeparateTranslucencybool
EnableSubsurfaceScatteringbool
Expressionsarray<MaterialExpression>
ImageReflectionNormalDampeningfloat
LightingModelEMaterialLightingModel
MaterialFunctionInfosarray<MaterialFunctionInfo>
MaterialResourcespointer[2]const, native
NormalVectorMaterialInput
OpacityScalarMaterialInput
OpacityMaskScalarMaterialInput
OpacityMaskClipValuefloat
PhysicalMaterialclass<PhysicalMaterial>
PhysMaterialPhysicalMaterial
PhysMaterialMaskTexture2D
PhysMaterialMaskUVChannelINT
ReferencedTextureGuidsarray<guid>const, private
ReferencedTexturesarray<texture>const, private
ShadowDepthBiasfloat
SpecularColorColorMaterialInput
SpecularPowerScalarMaterialInput
SubsurfaceAbsorptionColorColorMaterialInput
SubsurfaceInscatteringColorColorMaterialInput
SubsurfaceScatteringRadiusScalarMaterialInput
TessellationMultiplierScalarMaterialInput
TwoSidedbool
TwoSidedLightingColorColorMaterialInput
TwoSidedLightingMaskScalarMaterialInput
TwoSidedSeparatePassbool
WhitePhysicalMaterialPhysicalMaterial
Wireframebool
WorldDisplacementVectorMaterialInput
WorldPositionOffsetVectorMaterialInput

Default values

BlendMode=BLEND_Opaque
DiffuseColor=(Constant=(R=128,G=128,B=128))
DiffusePower=(Constant=1.0)
SpecularColor=(Constant=(R=128,G=128,B=128))
SpecularPower=(Constant=15.0)
Distortion=(ConstantX=0,ConstantY=0)
Opacity=(Constant=1)
OpacityMask=(Constant=1)
OpacityMaskClipValue=0.3333
ShadowDepthBias=0
TwoSidedLightingColor=(Constant=(R=255,G=255,B=255))
SubsurfaceInscatteringColor=(Constant=(R=255,G=255,B=255))
SubsurfaceAbsorptionColor=(Constant=(R=230,G=200,B=200))
bAllowFog=TRUE
bUsedWithStaticLighting=FALSE
bAllowLightmapSpecular=TRUE
PhysMaterialMaskUVChannel=-1
D3D11TessellationMode=MTM_NoTessellation
bEnableCrackFreeDisplacement=FALSE
ImageReflectionNormalDampening=5

Inherited

FromMembers
MaterialInterface106 properties, 16 functions
Surface0 properties, 2 functions
Object13 properties, 308 functions