|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
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. | |
Properties from the base material that can be overridden in material instances.
| FMaterialInstanceBasePropertyOverrides & opAssign | ( | FMaterialInstanceBasePropertyOverrides | Other | ) |
| void SetbCastDynamicShadowAsMasked | ( | bool | Value | ) |
Whether the material should cast shadows as masked even though it has a translucent blend mode.
| void SetbEnableTessellation | ( | bool | Value | ) |
Whether or not tessellation is enabled. Required for displacement to work.
| 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 SetbIsThinSurface | ( | bool | Value | ) |
Indicates that the material should be rendered as.
| void SetbOutputTranslucentVelocity | ( | bool | Value | ) |
Whether the material should output velocity even though it has a translucent blend mode.
| void SetbOverride_bEnableTessellation | ( | bool | Value | ) |
Enables override of the enable tessellation property.
| void SetbOverride_bHasPixelAnimation | ( | bool | Value | ) |
Enables override of the has pixel animation property.
| void SetbOverride_bIsThinSurface | ( | bool | Value | ) |
Enables override of the IsThinSurface property.
| void SetbOverride_BlendMode | ( | bool | Value | ) |
Enables override of the blend mode.
| void SetbOverride_CastDynamicShadowAsMasked | ( | bool | Value | ) |
Enables override of whether to shadow using masked opacity on translucent materials.
| void SetbOverride_DisplacementScaling | ( | bool | Value | ) |
Enables override of the displacement magnitude and center property.
| void SetbOverride_DitheredLODTransition | ( | bool | Value | ) |
Enables override of the dithered LOD transition property.
| void SetbOverride_MaxWorldPositionOffsetDisplacement | ( | bool | Value | ) |
Enables override of the max world position offset property.
| void SetbOverride_OpacityMaskClipValue | ( | bool | Value | ) |
Enables override of the opacity mask clip value.
| void SetbOverride_OutputTranslucentVelocity | ( | bool | Value | ) |
Enables override of the output velocity property.
| void SetbOverride_ShadingModel | ( | bool | Value | ) |
Enables override of the shading model.
| void SetbOverride_TwoSided | ( | bool | Value | ) |
Enables override of the two sided property.
| void SetDitheredLODTransition | ( | bool | Value | ) |
Whether the material should support a dithered LOD transition when used with the foliage system.
| void SetTwoSided | ( | bool | Value | ) |
Indicates that the material should be rendered without backface culling and the normal should be flipped for backfaces.
| EBlendMode BlendMode |
The blend mode.
| FDisplacementScaling DisplacementScaling |
| float32 MaxWorldPositionOffsetDisplacement |
The maximum World Position Offset distance. Zero means no maximum.
| float32 OpacityMaskClipValue |
If BlendMode is BLEND_Masked, the surface is not rendered where OpacityMask < OpacityMaskClipValue.
| EMaterialShadingModel ShadingModel |
The shading model.