Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSparseVolumeTextureBase
- UMaterialExpressionSparseVolumeTextureSample
- UMaterialExpressionSparseVolumeTextureSampleParameter
- UMaterialExpressionSparseVolumeTextureObjectParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSparseVolumeTextureSample.h |
| Include | #include "Materials/MaterialExpressionSparseVolumeTextureSample.h" |
Syntax
class UMaterialExpressionSparseVolumeTextureSample : public UMaterialExpressionSparseVolumeTextureBase
Remarks
Material expression for sampling from a runtime virtual texture.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Coordinates | 3D texture coordinate used to sample the sparse volume texture. | |
| FExpressionInput | MipLevel | ||
| TEnumAsByte< ESamplerSourceMode > | SamplerSource | Controls where the sampler for this texture lookup will come from. | |
| FExpressionInput | TextureObject |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSparseVolumeTextureSample
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |