Navigation
API > API/Runtime > API/Runtime/Engine
A subscript instruction.
This instruction is used to pull the inner value making a compound one. For example, it is used to extract an individual component of a vector value.
| Name | FSubscript |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FSubscript : public MIR::TInstruction< VK_Subscript, 1 >
Inheritance Hierarchy
- FValue → FInstruction → TInstruction → FSubscript
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Arg | FValue * | The argument to subscript. | Materials/MaterialIR.h | |
| Index | int32 | The subscript index, i.e. the index of the component to extract. | Materials/MaterialIR.h |