Navigation
API > API/Runtime > API/Runtime/GeometryCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void MeshTransforms::Scale
(
FDynamicMesh3& Mesh, |
Apply Scale to Mesh, relative to given Origin. | DynamicMesh/MeshTransforms.h | |
void MeshTransforms::Scale
(
FDynamicMesh3& Mesh, |
Apply Scale to Mesh, relative to given Origin. | DynamicMesh/MeshTransforms.h |
MeshTransforms::Scale(FDynamicMesh3 &, const FVector3d &, const FVector3d &, bool, bool)
Description
Apply Scale to Mesh, relative to given Origin. Correctly updates normals/tangents as needed (unless bOnlyPositions is true).
| Name | MeshTransforms::Scale |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshTransforms.h |
| Include Path | #include "DynamicMesh/MeshTransforms.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshTransforms.cpp |
namespace MeshTransforms
{
void MeshTransforms::Scale
(
FDynamicMesh3 & Mesh,
const FVector3d & Scale,
const FVector3d & Origin,
bool bReverseOrientationIfNeeded,
bool bOnlyPositions
)
}
Parameters
| Name | Remarks |
|---|---|
| bReverseOrientationIfNeeded | If negative scaling inverts the mesh, also invert the triangle orientations |
| bOnlyPositions | If true, only apply scale positions and do not affect normals/tangents |
MeshTransforms::Scale(FDynamicMesh3 &, const FVector3d &, const FVector3d &, bool, ETransformAttributes)
Description
Apply Scale to Mesh, relative to given Origin. Correctly updates normals/tangents as needed (unless TransformAttributes flags are set not to update them).
| Name | MeshTransforms::Scale |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshTransforms.h |
| Include Path | #include "DynamicMesh/MeshTransforms.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshTransforms.cpp |
namespace MeshTransforms
{
void MeshTransforms::Scale
(
FDynamicMesh3 & Mesh,
const FVector3d & Scale,
const FVector3d & Origin,
bool bReverseOrientationIfNeeded,
ETransformAttributes TransformAttributes
)
}
Parameters
| Name | Remarks |
|---|---|
| bReverseOrientationIfNeeded | If negative scaling inverts the mesh, also invert the triangle orientations |
| TransformAttributes | Bitflag enum specifying which attributes to transform |