G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FMaterialInstanceBasePropertyOverrides Struct Reference

Properties from the base material that can be overridden in material instances. More...

Public Member Functions

Functions
void SetbOverride_bEnableTessellation (bool Value)
 Enables override of the enable tessellation property.
void SetbOverride_OpacityMaskClipValue (bool Value)
 Enables override of the opacity mask clip value.
void SetbOverride_BlendMode (bool Value)
 Enables override of the blend mode.
void SetbOverride_ShadingModel (bool Value)
 Enables override of the shading model.
void SetbOverride_DitheredLODTransition (bool Value)
 Enables override of the dithered LOD transition property.
void SetbOverride_CastDynamicShadowAsMasked (bool Value)
 Enables override of whether to shadow using masked opacity on translucent materials.
void SetbOverride_TwoSided (bool Value)
 Enables override of the two sided property.
void SetbOverride_bIsThinSurface (bool Value)
 Enables override of the IsThinSurface property.
void SetbOverride_OutputTranslucentVelocity (bool Value)
 Enables override of the output velocity property.
void SetbOverride_bHasPixelAnimation (bool Value)
 Enables override of the has pixel animation property.
FMaterialInstanceBasePropertyOverrides & opAssign (FMaterialInstanceBasePropertyOverrides Other)
void SetbOverride_DisplacementScaling (bool Value)
 Enables override of the displacement magnitude and center property.
void SetbOverride_MaxWorldPositionOffsetDisplacement (bool Value)
 Enables override of the max world position offset property.
void SetTwoSided (bool Value)
 Indicates that the material should be rendered without backface culling and the normal should be flipped for backfaces.
void SetbIsThinSurface (bool Value)
 Indicates that the material should be rendered as.
void SetDitheredLODTransition (bool Value)
 Whether the material should support a dithered LOD transition when used with the foliage system.
void SetbCastDynamicShadowAsMasked (bool Value)
 Whether the material should cast shadows as masked even though it has a translucent blend mode.
void SetbOutputTranslucentVelocity (bool Value)
 Whether the material should output velocity even though it has a translucent blend mode.
void SetbHasPixelAnimation (bool Value)
 Whether the opaque material has any pixel animations happening, that isn't included in the geometric velocities. This allows to disable renderer's heuristics that assumes animation is fully described with motion vector, such as TSR's anti-flickering heuristic.
void SetbEnableTessellation (bool Value)
 Whether or not tessellation is enabled. Required for displacement to work.

Public Attributes

Material
EMaterialShadingModel ShadingModel
 The shading model.
float32 OpacityMaskClipValue
 If BlendMode is BLEND_Masked, the surface is not rendered where OpacityMask < OpacityMaskClipValue.
FDisplacementScaling DisplacementScaling
float32 MaxWorldPositionOffsetDisplacement
 The maximum World Position Offset distance. Zero means no maximum.
EBlendMode BlendMode
 The blend mode.

Detailed Description

Properties from the base material that can be overridden in material instances.

Member Function Documentation

◆ opAssign()

◆ SetbCastDynamicShadowAsMasked()

void SetbCastDynamicShadowAsMasked ( bool Value)

Whether the material should cast shadows as masked even though it has a translucent blend mode.

◆ SetbEnableTessellation()

void SetbEnableTessellation ( bool Value)

Whether or not tessellation is enabled. Required for displacement to work.

◆ SetbHasPixelAnimation()

void SetbHasPixelAnimation ( bool Value)

Whether the opaque material has any pixel animations happening, that isn't included in the geometric velocities. This allows to disable renderer's heuristics that assumes animation is fully described with motion vector, such as TSR's anti-flickering heuristic.

◆ SetbIsThinSurface()

void SetbIsThinSurface ( bool Value)

Indicates that the material should be rendered as.

◆ SetbOutputTranslucentVelocity()

void SetbOutputTranslucentVelocity ( bool Value)

Whether the material should output velocity even though it has a translucent blend mode.

◆ SetbOverride_bEnableTessellation()

void SetbOverride_bEnableTessellation ( bool Value)

Enables override of the enable tessellation property.

◆ SetbOverride_bHasPixelAnimation()

void SetbOverride_bHasPixelAnimation ( bool Value)

Enables override of the has pixel animation property.

◆ SetbOverride_bIsThinSurface()

void SetbOverride_bIsThinSurface ( bool Value)

Enables override of the IsThinSurface property.

◆ SetbOverride_BlendMode()

void SetbOverride_BlendMode ( bool Value)

Enables override of the blend mode.

◆ SetbOverride_CastDynamicShadowAsMasked()

void SetbOverride_CastDynamicShadowAsMasked ( bool Value)

Enables override of whether to shadow using masked opacity on translucent materials.

◆ SetbOverride_DisplacementScaling()

void SetbOverride_DisplacementScaling ( bool Value)

Enables override of the displacement magnitude and center property.

◆ SetbOverride_DitheredLODTransition()

void SetbOverride_DitheredLODTransition ( bool Value)

Enables override of the dithered LOD transition property.

◆ SetbOverride_MaxWorldPositionOffsetDisplacement()

void SetbOverride_MaxWorldPositionOffsetDisplacement ( bool Value)

Enables override of the max world position offset property.

◆ SetbOverride_OpacityMaskClipValue()

void SetbOverride_OpacityMaskClipValue ( bool Value)

Enables override of the opacity mask clip value.

◆ SetbOverride_OutputTranslucentVelocity()

void SetbOverride_OutputTranslucentVelocity ( bool Value)

Enables override of the output velocity property.

◆ SetbOverride_ShadingModel()

void SetbOverride_ShadingModel ( bool Value)

Enables override of the shading model.

◆ SetbOverride_TwoSided()

void SetbOverride_TwoSided ( bool Value)

Enables override of the two sided property.

◆ SetDitheredLODTransition()

void SetDitheredLODTransition ( bool Value)

Whether the material should support a dithered LOD transition when used with the foliage system.

◆ SetTwoSided()

void SetTwoSided ( bool Value)

Indicates that the material should be rendered without backface culling and the normal should be flipped for backfaces.

Member Data Documentation

◆ BlendMode

EBlendMode BlendMode

The blend mode.

◆ DisplacementScaling

FDisplacementScaling DisplacementScaling

◆ MaxWorldPositionOffsetDisplacement

float32 MaxWorldPositionOffsetDisplacement

The maximum World Position Offset distance. Zero means no maximum.

◆ OpacityMaskClipValue

float32 OpacityMaskClipValue

If BlendMode is BLEND_Masked, the surface is not rendered where OpacityMask < OpacityMaskClipValue.

◆ ShadingModel

EMaterialShadingModel ShadingModel

The shading model.