Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialExpression
- UMaterialExpression::Compile()
- UMaterialExpressionVolumetricAdvancedMaterialInput::Compile()
- UMaterialExpressionTextureSampleParameter2DArray::Compile()
- UMaterialExpressionRgbToHsv::Compile()
- UMaterialExpressionPreSkinnedPosition::Compile()
- UMaterialExpressionPreSkinnedNormal::Compile()
- UMaterialExpressionPreSkinnedLocalBounds::Compile()
- UMaterialExpressionObjectLocalBounds::Compile()
- UMaterialExpressionLength::Compile()
- UMaterialExpressionHsvToRgb::Compile()
- UMaterialExpressionExecEnd::Compile()
- UMaterialExpressionCloudSampleAttribute::Compile()
- UMaterialExpressionViewSize::Compile()
- UMaterialExpressionVertexInterpolator::Compile()
- UMaterialExpressionSkyAtmosphereViewLuminance::Compile()
- UMaterialExpressionSceneTexelSize::Compile()
- UMaterialExpressionParticleSubUVProperties::Compile()
- UMaterialExpressionDecalLifetimeOpacity::Compile()
- UMaterialExpressionDecalColor::Compile()
- UMaterialExpressionAtmosphericLightVector::Compile()
- UMaterialExpressionAtmosphericLightColor::Compile()
- UMaterialExpressionVertexTangentWS::Compile()
- UMaterialExpressionVertexNormalWS::Compile()
- UMaterialExpressionVertexColor::Compile()
- UMaterialExpressionTwoSidedSign::Compile()
- UMaterialExpressionScreenPosition::Compile()
- UMaterialExpressionPixelNormalWS::Compile()
- UMaterialExpressionPerInstanceRandom::Compile()
- UMaterialExpressionPerInstanceFadeAmount::Compile()
- UMaterialExpressionParticleRadius::Compile()
- UMaterialExpressionParticleColor::Compile()
- UMaterialExpressionObjectRadius::Compile()
- UMaterialExpressionObjectOrientation::Compile()
- UMaterialExpressionObjectBounds::Compile()
- UMaterialExpressionLogarithm::Compile()
- UMaterialExpressionLightVector::Compile()
- UMaterialExpressionIsOrthographic::Compile()
- UMaterialExpressionGenericConstant::Compile()
- UMaterialExpressionExponential2::Compile()
- UMaterialExpressionExponential::Compile()
- UMaterialExpressionDistanceCullFade::Compile()
- UMaterialExpressionDeltaTime::Compile()
- UMaterialExpressionDecalDerivative::Compile()
- UMaterialExpressionCameraVectorWS::Compile()
- UMaterialExpressionTextureSampleParameterVolume::Compile()
- UMaterialExpressionCameraPositionWS::Compile()
- UMaterialExpressionTruncate::Compile()
- UMaterialExpressionTextureSampleParameterCubeArray::Compile()
- UMaterialExpressionTextureSampleParameterCube::Compile()
- UMaterialExpressionTangentOutput::Compile()
- UMaterialExpressionSign::Compile()
- UMaterialExpressionSaturate::Compile()
- UMaterialExpressionRound::Compile()
- UMaterialExpressionParticlePositionWS::Compile()
- UMaterialExpressionObjectPositionWS::Compile()
- UMaterialExpressionAtmosphericFogColor::Compile()
- UMaterialExpressionArctangentFast::Compile()
- UMaterialExpressionArctangent::Compile()
- UMaterialExpressionArcsineFast::Compile()
- UMaterialExpressionArcsine::Compile()
- UMaterialExpressionArccosineFast::Compile()
- UMaterialExpressionArccosine::Compile()
- UMaterialExpressionActorPositionWS::Compile()
- UMaterialExpressionMaterialXSwizzle::Compile()
- UMaterialExpressionSkyAtmosphereLightDirection::Compile()
- UMaterialExpressionParticleSubUV::Compile()
- UMaterialExpressionLogarithm2::Compile()
- UMaterialExpressionLogarithm10::Compile()
- UMaterialExpressionEyeAdaptationInverse::Compile()
- UMaterialExpressionEyeAdaptation::Compile()
- UMaterialExpressionExecBegin::Compile()
- UMaterialExpressionDoubleVectorParameter::Compile()
- UMaterialExpressionDistanceToNearestSurface::Compile()
- UMaterialExpressionDistanceFieldGradient::Compile()
- UMaterialExpressionConstant4Vector::Compile()
- UMaterialExpressionConstant::Compile()
- UMaterialExpressionBentNormalCustomOutput::Compile()
- UMaterialExpressionTruncateLWC::Compile()
- UMaterialExpressionThinTranslucentMaterialOutput::Compile()
- UMaterialExpressionSquareRoot::Compile()
- UMaterialExpressionReroute::Compile()
- UMaterialExpressionPreviousFrameSwitch::Compile()
- UMaterialExpressionPrecomputedAOMask::Compile()
- UMaterialExpressionPixelDepth::Compile()
- UMaterialExpressionParticleSpriteRotation::Compile()
- UMaterialExpressionParticleSpeed::Compile()
- UMaterialExpressionParticleSize::Compile()
- UMaterialExpressionParticleRelativeTime::Compile()
- UMaterialExpressionParticleRandom::Compile()
- UMaterialExpressionParticleMotionBlurFade::Compile()
- UMaterialExpressionParticleMacroUV::Compile()
- UMaterialExpressionParticleDirection::Compile()
- UMaterialExpressionLightmapUVs::Compile()
- UMaterialExpressionHairAttributes::Compile()
- UMaterialExpressionGetLocal::Compile()
- UMaterialExpressionFrac::Compile()
- UMaterialExpressionFloor::Compile()
- UMaterialExpressionDeriveNormalZ::Compile()
- UMaterialExpressionClearCoatNormalCustomOutput::Compile()
- UMaterialExpressionCeil::Compile()
- UMaterialExpressionBlackBody::Compile()
- UMaterialExpressionAbsorptionMediumMaterialOutput::Compile()
- UMaterialExpressionTangent::Compile()
- UMaterialExpressionStaticBool::Compile()
- UMaterialExpressionSparseVolumeTextureObject::Compile()
- UMaterialExpressionSkyLightEnvMapSample::Compile()
- UMaterialExpressionOneMinus::Compile()
- UMaterialExpressionNormalize::Compile()
- UMaterialExpressionDDY::Compile()
- UMaterialExpressionDDX::Compile()
- UMaterialExpressionArctangent2Fast::Compile()
- UMaterialExpressionArctangent2::Compile()
- UMaterialExpressionShadowReplace::Compile()
- UMaterialExpressionReflectionCapturePassSwitch::Compile()
- UMaterialExpressionNaniteReplace::Compile()
- UMaterialExpressionMapARPassthroughCameraUV::Compile()
- UMaterialExpressionConstant3Vector::Compile()
- UMaterialExpressionLandscapeVisibilityMask::Compile()
- UMaterialExpressionSkyAtmosphereLightIlluminance::Compile()
- UMaterialExpressionSine::Compile()
- UMaterialExpressionPerInstanceCustomData::Compile()
- UMaterialExpressionLightmassReplace::Compile()
- UMaterialExpressionFmod::Compile()
- UMaterialExpressionCrossProduct::Compile()
- UMaterialExpressionCosine::Compile()
- UMaterialExpressionConstant2Vector::Compile()
- UMaterialExpressionAppendVector::Compile()
- UMaterialExpressionTextureSampleParameterSubUV::Compile()
- UMaterialExpressionTextureObject::Compile()
- UMaterialExpressionSubsurfaceMediumMaterialOutput::Compile()
- UMaterialExpressionStaticSwitchParameter::Compile()
- UMaterialExpressionStaticBoolParameter::Compile()
- UMaterialExpressionStaticSwitchParameter::Compile()
- UMaterialExpressionRuntimeVirtualTextureReplace::Compile()
- UMaterialExpressionReflectionVectorWS::Compile()
- UMaterialExpressionRayTracingQualitySwitch::Compile()
- UMaterialExpressionQualitySwitch::Compile()
- UMaterialExpressionPathTracingQualitySwitch::Compile()
- UMaterialExpressionMaterialProxyReplace::Compile()
- UMaterialExpressionDotProduct::Compile()
- UMaterialExpressionDistanceFieldsRenderingSwitch::Compile()
- UMaterialExpressionDistance::Compile()
- UMaterialExpressionBreakMaterialAttributes::Compile()
- UMaterialExpressionWhileLoop::Compile()
- UMaterialExpressionVirtualTextureFeatureSwitch::Compile()
- UMaterialExpressionSphericalParticleOpacity::Compile()
- UMaterialExpressionShadingPathSwitch::Compile()
- UMaterialExpressionSetLocal::Compile()
- UMaterialExpressionIfThenElse::Compile()
- UMaterialExpressionAbs::Compile()
- UMaterialExpressionPower::Compile()
- UMaterialExpressionConstantBiasScale::Compile()
- UMaterialExpressionTextureObjectParameter::Compile()
- UMaterialExpressionShadingModel::Compile()
- UMaterialExpressionSamplePhysicsVectorField::Compile()
- UMaterialExpressionDesaturation::Compile()
- UMaterialExpressionDecalMipmapLevel::Compile()
- UMaterialExpressionVolumetricCloudEmptySpaceSkippingInput::Compile()
- UMaterialExpressionVectorParameter::Compile()
- UMaterialExpressionChannelMaskParameter::Compile()
- UMaterialExpressionTime::Compile()
- UMaterialExpressionHairColor::Compile()
- UMaterialExpressionGIReplace::Compile()
- UMaterialExpressionShaderStageSwitch::Compile()
- UMaterialExpressionSceneTexture::Compile()
- UMaterialExpressionFeatureLevelSwitch::Compile()
- UMaterialExpressionLandscapeLayerSample::Compile()
- UMaterialExpressionStaticSwitch::Compile()
- UMaterialExpressionMultiply::Compile()
- UMaterialExpressionMin::Compile()
- UMaterialExpressionMax::Compile()
- UMaterialExpressionForLoop::Compile()
- UMaterialExpressionDivide::Compile()
- UMaterialExpressionAdd::Compile()
- UMaterialExpressionSubtract::Compile()
- UMaterialExpressionStep::Compile()
- UMaterialExpressionSingleLayerWaterMaterialOutput::Compile()
- UMaterialExpressionRotateAboutAxis::Compile()
- UMaterialExpressionComponentMask::Compile()
- UMaterialExpressionDBufferTexture::Compile()
- UMaterialExpressionTemporalSobol::Compile()
- UMaterialExpressionStaticComponentMaskParameter::Compile()
- UMaterialExpressionSetMaterialAttributes::Compile()
- UMaterialExpressionFontSample::Compile()
- UMaterialExpressionFontSampleParameter::Compile()
- UMaterialExpressionChannelMaskParameter::Compile()
- UMaterialExpressionBinaryOp::Compile()
- UMaterialExpressionRotator::Compile()
- UMaterialExpressionTextureCoordinate::Compile()
- UMaterialExpressionSparseVolumeTextureObjectParameter::Compile()
- UMaterialExpressionPathTracingRayTypeSwitch::Compile()
- UMaterialExpressionGetMaterialAttributes::Compile()
- UMaterialExpressionFontSampleParameter::Compile()
- UMaterialExpressionCurveAtlasRowParameter::Compile()
- UMaterialExpressionBumpOffset::Compile()
- UMaterialExpressionWorldPosition::Compile()
- UMaterialExpressionTextureSampleParameter::Compile()
- UMaterialExpressionTextureSampleParameter2DArray::Compile()
- UMaterialExpressionTextureSampleParameterVolume::Compile()
- UMaterialExpressionTextureSampleParameterCubeArray::Compile()
- UMaterialExpressionTextureSampleParameterCube::Compile()
- UMaterialExpressionTextureSampleParameterSubUV::Compile()
- UMaterialExpressionTextureObjectParameter::Compile()
- UMaterialExpressionAntialiasedTextureMask::Compile()
- UMaterialExpressionMaterialXTextureSampleParameterBlur::Compile()
- UMaterialExpressionTextureProperty::Compile()
- UMaterialExpressionSmoothStep::Compile()
- UMaterialExpressionScalarParameter::Compile()
- UMaterialExpressionCurveAtlasRowParameter::Compile()
- UMaterialExpressionAntialiasedTextureMask::Compile()
- UMaterialExpressionSobol::Compile()
- UMaterialExpressionLinearInterpolate::Compile()
- UMaterialExpressionLandscapeLayerWeight::Compile()
- UMaterialExpressionLandscapeLayerSwitch::Compile()
- UMaterialExpressionDepthOfFieldFunction::Compile()
- UMaterialExpressionCollectionParameter::Compile()
- UMaterialExpressionSphereMask::Compile()
- UMaterialExpressionPathTracingBufferTexture::Compile()
- UMaterialExpressionPanner::Compile()
- UMaterialExpressionInverseLinearInterpolate::Compile()
- UMaterialExpressionSparseVolumeTextureSample::Compile()
- UMaterialExpressionSparseVolumeTextureObjectParameter::Compile()
- UMaterialExpressionIf::Compile()
- UMaterialExpressionDistanceFieldApproxAO::Compile()
- UMaterialExpressionMaterialXTextureSampleParameterBlur::Compile()
- UMaterialExpressionSceneDepthWithoutWater::Compile()
- UMaterialExpressionSceneDepth::Compile()
- UMaterialExpressionRuntimeVirtualTextureOutput::Compile()
- UMaterialExpressionFresnel::Compile()
- UMaterialExpressionBlendMaterialAttributes::Compile()
- UMaterialExpressionPerInstanceCustomData3Vector::Compile()
- UMaterialExpressionLandscapeGrassOutput::Compile()
- UMaterialExpressionSkyAtmosphereLightDiskLuminance::Compile()
- UMaterialExpressionDynamicParameter::Compile()
- UMaterialExpressionSamplePhysicsScalarField::Compile()
- UMaterialExpressionDepthFade::Compile()
- UMaterialExpressionClamp::Compile()
- UMaterialExpressionLandscapePhysicalMaterialOutput::Compile()
- UMaterialExpressionSceneColor::Compile()
- UMaterialExpressionFunctionOutput::Compile()
- UMaterialExpressionViewProperty::Compile()
- UMaterialExpressionTransformPosition::Compile()
- UMaterialExpressionDataDrivenShaderPlatformInfoSwitch::Compile()
- UMaterialExpressionLandscapeLayerCoords::Compile()
- UMaterialExpressionNamedRerouteDeclaration::Compile()
- UMaterialExpressionSkyAtmosphereAerialPerspective::Compile()
- UMaterialExpressionSamplePhysicsIntegerField::Compile()
- UMaterialExpressionSwitch::Compile()
- UMaterialExpressionLandscapeLayerBlend::Compile()
- UMaterialExpressionVectorNoise::Compile()
- UMaterialExpressionSpeedTree::Compile()
- UMaterialExpressionSkyAtmosphereDistantLightScatteredLuminance::Compile()
- UMaterialExpressionTransform::Compile()
- UMaterialExpressionMakeMaterialAttributes::Compile()
- UMaterialExpressionTextureSample::Compile()
- UMaterialExpressionTextureSampleParameter2DArray::Compile()
- UMaterialExpressionTextureSampleParameterVolume::Compile()
- UMaterialExpressionTextureSampleParameterCubeArray::Compile()
- UMaterialExpressionTextureSampleParameterCube::Compile()
- UMaterialExpressionParticleSubUV::Compile()
- UMaterialExpressionTextureSampleParameterSubUV::Compile()
- UMaterialExpressionTextureObjectParameter::Compile()
- UMaterialExpressionTextureSampleParameter::Compile()
- UMaterialExpressionTextureSampleParameter2DArray::Compile()
- UMaterialExpressionTextureSampleParameterVolume::Compile()
- UMaterialExpressionTextureSampleParameterCubeArray::Compile()
- UMaterialExpressionTextureSampleParameterCube::Compile()
- UMaterialExpressionTextureSampleParameterSubUV::Compile()
- UMaterialExpressionTextureObjectParameter::Compile()
- UMaterialExpressionAntialiasedTextureMask::Compile()
- UMaterialExpressionMaterialXTextureSampleParameterBlur::Compile()
- UMaterialExpressionAntialiasedTextureMask::Compile()
- UMaterialExpressionMaterialXTextureSampleParameterBlur::Compile()
- UMaterialExpressionCustom::Compile()
- UMaterialExpressionVolumetricAdvancedMaterialOutput::Compile()
- UMaterialExpressionMaterialAttributeLayers::Compile()
- UMaterialExpressionFunctionInput::Compile()
- UMaterialExpressionNoise::Compile()
- UMaterialExpressionNamedRerouteUsage::Compile()
- UMaterialExpressionMaterialFunctionCall::Compile()
- UMaterialExpressionRuntimeVirtualTextureSample::Compile()
- UMaterialExpressionVolumetricCloudEmptySpaceSkippingOutput::Compile()
- UMaterialExpressionStrataLegacyConversion::Compile()
- UMaterialExpressionStrataSlabBSDF::Compile()
- UMaterialExpressionStrataSimpleClearCoatBSDF::Compile()
- UMaterialExpressionStrataVolumetricFogCloudBSDF::Compile()
- UMaterialExpressionStrataUnlitBSDF::Compile()
- UMaterialExpressionStrataHairBSDF::Compile()
- UMaterialExpressionStrataEyeBSDF::Compile()
- UMaterialExpressionStrataSingleLayerWaterBSDF::Compile()
- UMaterialExpressionStrataLightFunction::Compile()
- UMaterialExpressionStrataPostProcess::Compile()
- UMaterialExpressionStrataUI::Compile()
- UMaterialExpressionStrataConvertToDecal::Compile()
- UMaterialExpressionStrataHorizontalMixing::Compile()
- UMaterialExpressionStrataVerticalLayering::Compile()
- UMaterialExpressionStrataAdd::Compile()
- UMaterialExpressionStrataWeight::Compile()
- UMaterialExpressionStrataTransmittanceToMFP::Compile()
- UMaterialExpressionStrataMetalnessToDiffuseAlbedoF0::Compile()
- UMaterialExpressionStrataHazinessToSecondaryRoughness::Compile()
- UMaterialExpressionStrataThinFilm::Compile()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h |
Include | #include "Materials/MaterialExpression.h" |
virtual int32 Compile
&40;
class FMaterialCompiler &42; Compiler,
int32 OutputIndex
&41;
Remarks
Create the new shader code chunk needed for the Abs expression Index to the new FMaterialCompiler::CodeChunk entry for this expression
Parameters
Name | Description |
---|---|
Compiler | UMaterial compiler that knows how to handle this expression. |