Navigation
API > API/Plugins > API/Plugins/DMXGDTF > API/Plugins/DMXGDTF/GDTF > API/Plugins/DMXGDTF/GDTF/Models
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FDMXGDTFNode
- FDMXGDTFModel
References
| Module | DMXGDTF |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXGDTF/Source/DMXGDTF/Public/GDTF/Models/DMXGDTFModel.h |
| Include | #include "GDTF/Models/DMXGDTFModel.h" |
Syntax
class FDMXGDTFModel : public UE::DMX::GDTF::FDMXGDTFNode
Remarks
Each device is divided into smaller parts: body, yoke, head and so on. These are called geometries. Each geometry has a separate model description and a physical description. Model collect contains model descriptions of the fixture parts. The model collect currently does not have any XML attributes (XML node
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | File | (Optional) File name without extension and without subfolder containing description of the model. | |
| float | Height | Height. Unit: meter; Default value: 0 | |
| float | Length | Length. Unit: meter; Default value: 0 | |
| FName | Name | The unique name of the model. | |
| const TWeakPtr< FDMXGDTFFixtureType > | OuterFixtureType | The outer fixture type | |
| EDMXGDTFModelPrimitiveType | PrimitiveType | Type of 3D model. Default value: “Undefined | |
| float | SVGFrontOffsetX | Offset in X from the 0,0 point to the desired insertion point of the front view svg. | |
| float | SVGFrontOffsetY | Offset in Y from the 0,0 point to the desired insertion point of the front view svg. | |
| float | SVGOffsetX | Offset in X from the 0, 0 point to the desired insertion point of the top view svg. | |
| float | SVGOffsetY | Offset in Y from the 0, 0 point to the desired insertion point of the top view svg. | |
| float | SVGSideOffsetX | Offset in X from the 0,0 point to the desired insertion point of the side view svg. | |
| float | SVGSideOffsetY | Offset in Y from the 0,0 point to the desired insertion point of the side view svg. | |
| float | Width | Width. Unit: meter; Default value: 0 |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDMXGDTFModel
(
const TSharedRef< FDMXGDTFFixtureType >& InFixtureType |
Overridden from FDMXGDTFNode
| Type | Name | Description | |
|---|---|---|---|
| FXmlNode * | CreateXmlNode
(
FXmlNode& Parent |
Creates an XML node in the parent node | |
| const TCHAR * | GetXmlTag () |
Gets the Xml Tag corresponding to this node | |
| void | Initialize
(
const FXmlNode& InXmlNode |
Initializes the node from an Xml node. Called after the node was constructed. |