Navigation
API > API/Runtime > API/Runtime/Chaos
Defines common API for storing points with attributes in a collection. The points/attributes are stored in the Points group.
| Name | FPointsFacade |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/PointsFacade.h |
| Include Path | #include "GeometryCollection/Facades/PointsFacade.h" |
Syntax
class FPointsFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPointsFacade
(
FManagedArrayCollection& InSelf |
FPointsFacade Constuctor | GeometryCollection/Facades/PointsFacade.h | |
FPointsFacade
(
const FManagedArrayCollection& InSelf |
GeometryCollection/Facades/PointsFacade.h | ||
FPointsFacade
(
const FPointsFacade& |
GeometryCollection/Facades/PointsFacade.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PointAttribute | const FName | GeometryCollection/Facades/PointsFacade.h | |
| PointsGroup | const FName | GeometryCollection/Facades/PointsFacade.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstCollection | const FManagedArrayCollection & | GeometryCollection/Facades/PointsFacade.h | ||
| MutableCollection | FManagedArrayCollection * | GeometryCollection/Facades/PointsFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddBoolAttribute
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
bool AddBoolAttribute
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
| Add attribute to the points | GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
| Add points to the collection | GeometryCollection/Facades/PointsFacade.h | ||
void AddPoints
(
const FPointsFacade& InPointsFacade |
GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
| GeometryCollection/Facades/PointsFacade.h | |||
| GeometryCollection/Facades/PointsFacade.h | |||
void AppendPoints
(
const FPointsFacade& InPointsFacade |
GeometryCollection/Facades/PointsFacade.h | ||
void AppendPoints
(
const TArray< FVector >& InPoints |
GeometryCollection/Facades/PointsFacade.h | ||
void AppendPoints
(
const TArray< FVector3f >& InPoints |
GeometryCollection/Facades/PointsFacade.h | ||
void DefineSchema() |
Adds neccessary group/Attribute | GeometryCollection/Facades/PointsFacade.h | |
void DeletePoints
(
const TArray< int32 >& InSortedDeletionList |
Delete points from the collection | GeometryCollection/Facades/PointsFacade.h | |
void FilterByFloatAttributeToArray
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
void FilterByFloatAttributeToCollection
(
const FName InAttribute, |
Filter points by a float attribute value | GeometryCollection/Facades/PointsFacade.h | |
void FilterByFloatAttributeToSelection
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
bool GeneratePointsInBox
(
const FBox& InBox, |
Generate points in an AABB | GeometryCollection/Facades/PointsFacade.h | |
bool GeneratePointsOnPlane
(
const FBox& InBox, |
Generate points in an AABB on a plane | GeometryCollection/Facades/PointsFacade.h | |
EManagedArrayType GetAttributeType
(
const FName& InAttribute |
Get attribute type | GeometryCollection/Facades/PointsFacade.h | |
| Get list of attributes on the points | GeometryCollection/Facades/PointsFacade.h | ||
FString GetAttrsAsString
(
bool bAddCommaSeparator |
GeometryCollection/Facades/PointsFacade.h | ||
const bool GetBoolAttributeValue
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
FBox GetBoundingBox() |
Computes the smallest AABB for the points | GeometryCollection/Facades/PointsFacade.h | |
FSphere GetBoundingSphere() |
Computes the smallest bounding sphere for the points | GeometryCollection/Facades/PointsFacade.h | |
const FManagedArrayCollection & GetConstCollection() |
Get Access to the ConstCollection. | GeometryCollection/Facades/PointsFacade.h | |
const float GetFloatAttributeValue
(
const FName InAttribute, |
Get the element of a specified attribute from the array | GeometryCollection/Facades/PointsFacade.h | |
| Get the values of a specified attribute as an array | GeometryCollection/Facades/PointsFacade.h | ||
const int32 GetIntAttributeValue
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
int32 GetNumAttrs() |
Get number of attributes on the points | GeometryCollection/Facades/PointsFacade.h | |
int32 GetNumPoints() |
Get number of points in the collection | GeometryCollection/Facades/PointsFacade.h | |
TArray< FVector > GetPointsAsArray() |
Get the points as a TArray |
GeometryCollection/Facades/PointsFacade.h | |
TArray< FVector3f > GetPointsAsFloatArray() |
GeometryCollection/Facades/PointsFacade.h | ||
const FVector2f GetVector2AttributeValue
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
const FVector3f GetVector3AttributeValue
(
const FName InAttribute, |
GeometryCollection/Facades/PointsFacade.h | ||
| GeometryCollection/Facades/PointsFacade.h | |||
bool HasAttribute
(
const FName& InAttribute |
Check if attribute exist | GeometryCollection/Facades/PointsFacade.h | |
bool IsConst() |
Is the facade defined constant. | GeometryCollection/Facades/PointsFacade.h | |
bool IsValid() |
Is the facade defined constant. | GeometryCollection/Facades/PointsFacade.h | |
void TransformPoints
(
const FTransform& InTransform |
Transform points | GeometryCollection/Facades/PointsFacade.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPointsFacade & operator=
(
const FPointsFacade& |
GeometryCollection/Facades/PointsFacade.h |