Show / Hide Table of Contents

Class MaterialExpression

Material Expression

Inheritance
System.Object
UObject
MaterialExpression
MaterialExpressionAbs
MaterialExpressionActorPositionWS
MaterialExpressionAdd
MaterialExpressionAppendVector
MaterialExpressionArccosine
MaterialExpressionArccosineFast
MaterialExpressionArcsine
MaterialExpressionArcsineFast
MaterialExpressionArctangent
MaterialExpressionArctangent2
MaterialExpressionArctangent2Fast
MaterialExpressionArctangentFast
MaterialExpressionAtmosphericFogColor
MaterialExpressionAtmosphericLightColor
MaterialExpressionAtmosphericLightVector
MaterialExpressionBlackBody
MaterialExpressionBlendMaterialAttributes
MaterialExpressionBreakMaterialAttributes
MaterialExpressionBumpOffset
MaterialExpressionCameraPositionWS
MaterialExpressionCameraVectorWS
MaterialExpressionCeil
MaterialExpressionClamp
MaterialExpressionCollectionParameter
MaterialExpressionComment
MaterialExpressionComponentMask
MaterialExpressionConstant
MaterialExpressionConstant2Vector
MaterialExpressionConstant3Vector
MaterialExpressionConstant4Vector
MaterialExpressionConstantBiasScale
MaterialExpressionCosine
MaterialExpressionCrossProduct
MaterialExpressionCustom
MaterialExpressionCustomOutput
MaterialExpressionDDX
MaterialExpressionDDY
MaterialExpressionDecalDerivative
MaterialExpressionDecalLifetimeOpacity
MaterialExpressionDecalMipmapLevel
MaterialExpressionDepthFade
MaterialExpressionDepthOfFieldFunction
MaterialExpressionDeriveNormalZ
MaterialExpressionDesaturation
MaterialExpressionDistance
MaterialExpressionDistanceCullFade
MaterialExpressionDistanceFieldGradient
MaterialExpressionDistanceToNearestSurface
MaterialExpressionDivide
MaterialExpressionDotProduct
MaterialExpressionDynamicParameter
MaterialExpressionEyeAdaptation
MaterialExpressionFeatureLevelSwitch
MaterialExpressionFloor
MaterialExpressionFmod
MaterialExpressionFontSample
MaterialExpressionFrac
MaterialExpressionFresnel
MaterialExpressionFunctionInput
MaterialExpressionFunctionOutput
MaterialExpressionGetMaterialAttributes
MaterialExpressionGIReplace
MaterialExpressionIf
MaterialExpressionLightmapUVs
MaterialExpressionLightmassReplace
MaterialExpressionLightVector
MaterialExpressionLinearInterpolate
MaterialExpressionLogarithm10
MaterialExpressionLogarithm2
MaterialExpressionMakeMaterialAttributes
MaterialExpressionMaterialAttributeLayers
MaterialExpressionMaterialFunctionCall
MaterialExpressionMaterialProxyReplace
MaterialExpressionMax
MaterialExpressionMin
MaterialExpressionMultiply
MaterialExpressionNoise
MaterialExpressionNormalize
MaterialExpressionObjectBounds
MaterialExpressionObjectOrientation
MaterialExpressionObjectPositionWS
MaterialExpressionObjectRadius
MaterialExpressionOneMinus
MaterialExpressionPanner
MaterialExpressionParameter
MaterialExpressionParticleColor
MaterialExpressionParticleDirection
MaterialExpressionParticleMacroUV
MaterialExpressionParticleMotionBlurFade
MaterialExpressionParticlePositionWS
MaterialExpressionParticleRadius
MaterialExpressionParticleRandom
MaterialExpressionParticleRelativeTime
MaterialExpressionParticleSize
MaterialExpressionParticleSpeed
MaterialExpressionPerInstanceFadeAmount
MaterialExpressionPerInstanceRandom
MaterialExpressionPixelDepth
MaterialExpressionPixelNormalWS
MaterialExpressionPower
MaterialExpressionPrecomputedAOMask
MaterialExpressionPreSkinnedNormal
MaterialExpressionPreSkinnedPosition
MaterialExpressionPreviousFrameSwitch
MaterialExpressionQualitySwitch
MaterialExpressionReflectionVectorWS
MaterialExpressionReroute
MaterialExpressionRotateAboutAxis
MaterialExpressionRotator
MaterialExpressionRound
MaterialExpressionSaturate
MaterialExpressionSceneColor
MaterialExpressionSceneDepth
MaterialExpressionSceneTexelSize
MaterialExpressionSceneTexture
MaterialExpressionScreenPosition
MaterialExpressionSetMaterialAttributes
MaterialExpressionShadingPathSwitch
MaterialExpressionSign
MaterialExpressionSine
MaterialExpressionSobol
MaterialExpressionSpeedTree
MaterialExpressionSphereMask
MaterialExpressionSphericalParticleOpacity
MaterialExpressionSquareRoot
MaterialExpressionStaticBool
MaterialExpressionStaticSwitch
MaterialExpressionSubtract
MaterialExpressionTangent
MaterialExpressionTemporalSobol
MaterialExpressionTextureBase
MaterialExpressionTextureCoordinate
MaterialExpressionTextureProperty
MaterialExpressionTime
MaterialExpressionTransform
MaterialExpressionTransformPosition
MaterialExpressionTruncate
MaterialExpressionTwoSidedSign
MaterialExpressionVectorNoise
MaterialExpressionVertexColor
MaterialExpressionVertexNormalWS
MaterialExpressionViewProperty
MaterialExpressionViewSize
MaterialExpressionWorldPosition
MaterialExpressionLandscapeLayerBlend
MaterialExpressionLandscapeLayerCoords
MaterialExpressionLandscapeLayerSample
MaterialExpressionLandscapeLayerSwitch
MaterialExpressionLandscapeLayerWeight
MaterialExpressionLandscapeVisibilityMask
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class MaterialExpression : UObject

Properties

| Improve this Doc View Source

bCollapsed

Declaration
public bool bCollapsed { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bCommentBubbleVisible

Declaration
public bool bCommentBubbleVisible { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bHidePreviewWindow

Declaration
public bool bHidePreviewWindow { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bIsParameterExpression

Declaration
public bool bIsParameterExpression { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bNeedToUpdatePreview

Declaration
public bool bNeedToUpdatePreview { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bRealtimePreview

Declaration
public bool bRealtimePreview { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bShaderInputData

Declaration
public bool bShaderInputData { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bShowInputs

Declaration
public bool bShowInputs { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bShowMaskColorsOnPin

Declaration
public bool bShowMaskColorsOnPin { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bShowOutputNameOnPin

Declaration
public bool bShowOutputNameOnPin { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bShowOutputs

Declaration
public bool bShowOutputs { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static MaterialExpression DefaultObject { get; }
Property Value
Type Description
MaterialExpression
| Improve this Doc View Source

Function

The material function that this expression is being used with, if any.

Declaration
public MaterialFunction Function { get; set; }
Property Value
Type Description
MaterialFunction
Remarks

This will be NULL if the expression belongs to a function that is currently being edited,

| Improve this Doc View Source

GraphNode

Expression's Graph representation

Declaration
public EdGraphNode GraphNode { get; set; }
Property Value
Type Description
EdGraphNode
| Improve this Doc View Source

Material

The material that this expression is currently being compiled in.

Declaration
public Material Material { get; set; }
Property Value
Type Description
Material
Remarks

This is not necessarily the object which owns this expression, for example a preview material compiling a material function's expressions.

| Improve this Doc View Source

MaterialExpressionEditorX

Material Expression Editor X

Declaration
public int MaterialExpressionEditorX { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaterialExpressionEditorY

Material Expression Editor Y

Declaration
public int MaterialExpressionEditorY { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaterialExpressionGuid

GUID to uniquely identify this node, to help the tutorials out

Declaration
public FGuid MaterialExpressionGuid { get; set; }
Property Value
Type Description
FGuid
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static MaterialExpression New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
MaterialExpression

Operators

| Improve this Doc View Source

Implicit(IntPtr to MaterialExpression)

Convert from IntPtr to UObject

Declaration
public static implicit operator MaterialExpression(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
MaterialExpression
  • Improve this Doc
  • View Source
Back to top Generated by DocFX