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
Struct extends MaterialInput
| Field | Type |
UseConstant | bool |
Constant | color |
MaterialFunctionInfo
| Field | Type |
Expression | MaterialExpression |
OutputIndex | int |
InputName | string |
Mask | int |
MaskR | int |
MaskG | int |
MaskB | int |
MaskA | int |
GCC64_Padding | int |
Struct extends MaterialInput
| Field | Type |
UseConstant | bool |
Constant | float |
Struct extends MaterialInput
| Field | Type |
UseConstant | bool |
ConstantX | float |
ConstantY | float |
Struct extends MaterialInput
| Field | Type |
UseConstant | bool |
Constant | vector |
Properties
| Name | Type | Notes |
AnisotropicDirection | VectorMaterialInput | |
bAllowFog | bool | |
bAllowLightmapSpecular | bool | |
bAllowTranslucencyDoF | bool | |
bCastLitTranslucencyShadowAsMasked | bool | |
bDisableDepthTest | bool | |
bEnableCrackFreeDisplacement | bool | const |
bEnableMaskedAntialiasing | bool | |
bIsFallbackMaterial | bool | |
bIsMasked | bool | private |
bIsPreviewMaterial | bool | transient, private |
BlackPhysicalMaterial | PhysicalMaterial | |
BlendMode | EBlendMode | |
bPerPixelCameraVector | bool | |
bSceneTextureRenderBehindTranslucency | bool | |
bTranslucencyInheritDominantShadowsFromOpaque | bool | |
bTranslucencyReceiveDominantShadowsFromStatic | bool | |
bUsedAsLightFunction | bool | const |
bUsedAsSpecialEngineMaterial | bool | const |
bUsedWithAPEXMeshes | bool | const |
bUsedWithBeamTrails | bool | const |
bUsedWithDecals | bool | const |
bUsedWithFluidSurfaces | bool | const |
bUsedWithFogVolumes | bool | const |
bUsedWithFracturedMeshes | bool | const |
bUsedWithGammaCorrection | bool | const |
bUsedWithHitProxyTranslucent | bool | no declaration: type is approximate |
bUsedWithInstancedMeshes | bool | const |
bUsedWithInstancedMeshParticles | bool | const |
bUsedWithLandscape | bool | const |
bUsedWithLensFlare | bool | const |
bUsedWithMaterialEffect | bool | const |
bUsedWithMobileLandscape | bool | const |
bUsedWithMorphTargets | bool | const |
bUsedWithOutline | bool | no declaration: type is approximate |
bUsedWithParticleSprites | bool | const |
bUsedWithParticleSubUV | bool | const |
bUsedWithParticleSystem | bool | const |
bUsedWithRadialBlur | bool | const |
bUsedWithScreenDoorFade | bool | const |
bUsedWithSkeletalMesh | bool | const |
bUsedWithSpeedTree | bool | const |
bUsedWithSplineMeshes | bool | const |
bUsedWithStaticLighting | bool | const |
bUsedWithTerrain | bool | const |
bUseImageBasedReflections | bool | |
bUseLitTranslucencyDepthPass | bool | |
bUseLitTranslucencyPostRenderDepthPass | bool | |
bUseOneLayerDistortion | bool | |
bUsesDistortion | bool | private |
CustomLighting | ColorMaterialInput | |
CustomSkylightDiffuse | ColorMaterialInput | |
D3D11TessellationMode | EMaterialTessellationMode | const |
DefaultMaterialInstances | pointer[3] | const, native |
DiffuseColor | ColorMaterialInput | |
DiffusePower | ScalarMaterialInput | |
Distortion | Vector2MaterialInput | |
array<MaterialExpressionComment> | |
EditorParameters | map | native |
EditorPitch | int | |
EditorX | int | |
EditorY | int | |
EditorYaw | int | |
EmissiveColor | ColorMaterialInput | |
EnableSeparateTranslucency | bool | |
EnableSubsurfaceScattering | bool | |
Expressions | array<MaterialExpression> | |
ImageReflectionNormalDampening | float | |
LightingModel | EMaterialLightingModel | |
MaterialFunctionInfos | array<MaterialFunctionInfo> | |
MaterialResources | pointer[2] | const, native |
Normal | VectorMaterialInput | |
Opacity | ScalarMaterialInput | |
OpacityMask | ScalarMaterialInput | |
OpacityMaskClipValue | float | |
PhysicalMaterial | class<PhysicalMaterial> | |
PhysMaterial | PhysicalMaterial | |
PhysMaterialMask | Texture2D | |
PhysMaterialMaskUVChannel | INT | |
ReferencedTextureGuids | array<guid> | const, private |
ReferencedTextures | array<texture> | const, private |
ShadowDepthBias | float | |
SpecularColor | ColorMaterialInput | |
SpecularPower | ScalarMaterialInput | |
SubsurfaceAbsorptionColor | ColorMaterialInput | |
SubsurfaceInscatteringColor | ColorMaterialInput | |
SubsurfaceScatteringRadius | ScalarMaterialInput | |
TessellationMultiplier | ScalarMaterialInput | |
TwoSided | bool | |
TwoSidedLightingColor | ColorMaterialInput | |
TwoSidedLightingMask | ScalarMaterialInput | |
TwoSidedSeparatePass | bool | |
WhitePhysicalMaterial | PhysicalMaterial | |
Wireframe | bool | |
WorldDisplacement | VectorMaterialInput | |
WorldPositionOffset | VectorMaterialInput | |
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