Cesium for Unreal 2.18.0
Loading...
Searching...
No Matches
FCesiumPrimitiveMetadata Struct Reference

A Blueprint-accessible wrapper for a glTF Primitive's EXT_structural_metadata extension. More...

#include <CesiumPrimitiveMetadata.h>

Public Member Functions

 FCesiumPrimitiveMetadata ()
 Construct an empty primitive metadata.
 
 FCesiumPrimitiveMetadata (const CesiumGltf::Model &model, const CesiumGltf::MeshPrimitive &primitive, const CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata &metadata)
 Constructs a primitive metadata instance.
 

Friends

class UCesiumPrimitiveMetadataBlueprintLibrary
 

Detailed Description

A Blueprint-accessible wrapper for a glTF Primitive's EXT_structural_metadata extension.

It holds the property attributes used by the primitive, as well as the indices of the property textures associated with it, which index into the array of property textures in the model's EXT_structural_metadata extension.

Definition at line 25 of file CesiumPrimitiveMetadata.h.

Constructor & Destructor Documentation

◆ FCesiumPrimitiveMetadata() [1/2]

FCesiumPrimitiveMetadata::FCesiumPrimitiveMetadata ( )
inline

Construct an empty primitive metadata.

Definition at line 32 of file CesiumPrimitiveMetadata.h.

◆ FCesiumPrimitiveMetadata() [2/2]

FCesiumPrimitiveMetadata::FCesiumPrimitiveMetadata ( const CesiumGltf::Model & model,
const CesiumGltf::MeshPrimitive & primitive,
const CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata & metadata )

Constructs a primitive metadata instance.

Parameters
modelThe model containing the given mesh primitive.
primitiveThe mesh primitive containing the EXT_structural_metadata extension
metadataThe EXT_structural_metadata of the glTF mesh primitive.

Friends And Related Symbol Documentation

◆ UCesiumPrimitiveMetadataBlueprintLibrary

Definition at line 54 of file CesiumPrimitiveMetadata.h.


The documentation for this struct was generated from the following file: