UStaticMesh::GetMaterialBox

Returns the material bounding box. Computed from all lod-section using the material index.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/StaticMesh.cpp

Syntax

FBox GetMaterialBox
(
    int32 MaterialIndex,
    const FTransform & Transform
) const

Remarks

Returns the material bounding box. Computed from all lod-section using the material index.

Returns

false if some parameters are invalid

Parameters

Parameter

Description

MaterialIndex

Material Index to look at

TransformMatrix

Matrix to be applied to the position before computing the bounds

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