AssetGenerationUtil::GenerateStaticMeshActor

Overload list

Windows
MacOS
Linux
Name Description

Public function

AActor *

 

AssetGenerationUtil::GenerateStaticMeshActor

(
    IToolsContextAssetAPI* AssetAP...,
    UWorld* TargetWorld,
    const FDynamicMesh3* Mesh,
    const FTransform3d& Transform,
    FString ObjectName,
    UMaterialInterface* Material
)

Creates a new StaticMesh actor/component, with a new mesh asset stored at the given PackagePath created via the AssetAPI

Public function

AActor *

 

AssetGenerationUtil::GenerateStaticMeshActor

(
    IToolsContextAssetAPI* AssetAP...,
    UWorld* TargetWorld,
    const FDynamicMesh3* Mesh,
    const FTransform3d& Transform,
    FString ObjectName,
    const TArrayView< UMaterialInterfac...
)

Creates a new StaticMesh actor/component, with a new mesh asset stored at the given PackagePath created via the AssetAPI

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