FAbcImporter::CreateStaticMeshFromSample

Creates a Static mesh from the given mesh description

Windows
MacOS
Linux

References

Module

AlembicLibrary

Header

/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicLibrary/Public/AbcImporter.h

Include

#include "AbcImporter.h"

Source

/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicLibrary/Private/AbcImporter.cpp

Syntax

UStaticMesh * CreateStaticMeshFromSample
(
    UObject * InParent,
    const FString & Name,
    EObjectFlags Flags,
    const uint32 NumMaterials,
    const TArray< FString > & FaceSetNames,
    const FAbcMeshSample * Sample
)

Remarks

Creates a Static mesh from the given mesh description

Returns

UStaticMesh*

Parameters

Parameter

Description

InParent

ParentObject for the static mesh

Name

Name for the static mesh

Flags

Object flags

NumMaterials

Number of materials to add

FaceSetNames

Face set names used for retrieving the materials

MeshDescription

The MeshDescription from which the static mesh should be constructed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss