UCurveControlPointsMechanic::FOrderedPoints::InsertPointAt

Inserts a point with the given coordinates at the given position in the sequence.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/CurveControlPointsMechanic.h

Include

#include "Mechanics/CurveControlPointsMechanic.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/CurveControlPointsMechanic.cpp

Syntax

int32 InsertPointAt
(
    int32 SequencePosition,
    const FVector3d & PointCoordinates,
    const int32 * KnownPointID
)

Remarks

Inserts a point with the given coordinates at the given position in the sequence.

Returns

the new point's ID.

Parameters

Parameter

Description

KnownPointID

If not null, this parameter stores the PointID we want the new point to have. This is useful for undo/redo operations, where we want to make sure that the we don't end up giving a point a different ID than we did last time. If null, the class generates an ID.

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