Navigation
API > API/Plugins > API/Plugins/HairStrandsDataflow
| Name | FGroomCollectionFacade |
| Type | class |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsDataflow/Public/GroomCollectionFacades.h |
| Include Path | #include "GroomCollectionFacades.h" |
Syntax
template<typename DerivedType>
class FGroomCollectionFacade
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGroomCollectionFacade
(
FManagedArrayCollection& InCollection |
GroomCollectionFacades.h | ||
FGroomCollectionFacade
(
const FManagedArrayCollection& InCollection |
GroomCollectionFacades.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CurveObjectIndicesAttribute | const FName | GroomCollectionFacades.h | |
| CurvePointOffsetsAttribute | const FName | Groom collection attribute names | GroomCollectionFacades.h |
| CurvesGroup | const FName | Groom collection group names | GroomCollectionFacades.h |
| EdgeRestOrientationsAttribute | const FName | GroomCollectionFacades.h | |
| EdgesGroup | const FName | GroomCollectionFacades.h | |
| ObjectCurveOffsetsAttribute | const FName | GroomCollectionFacades.h | |
| ObjectGroupNamesAttribute | const FName | GroomCollectionFacades.h | |
| ObjectsGroup | const FName | GroomCollectionFacades.h | |
| PointCurveIndicesAttribute | const FName | GroomCollectionFacades.h | |
| PointRestPositionsAttribute | const FName | GroomCollectionFacades.h | |
| PointsGroup | const FName | GroomCollectionFacades.h | |
| VertexLinearColorsAttribute | const FName | GroomCollectionFacades.h | |
| VerticesGroup | const FName | GroomCollectionFacades.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DefineSchema() |
Create the facade attributes. | GroomCollectionFacades.h | |
const TArray< int32 > & GetCurveObjectIndices() |
Get the curve object indices | GroomCollectionFacades.h | |
const TArray< int32 > & GetCurvePointOffsets() |
Get the curve point offsets | GroomCollectionFacades.h | |
const TArray< FQuat4f > & GetEdgeRestOrientations() |
Get the edge rest orientations | GroomCollectionFacades.h | |
const FManagedArrayCollection & GetManagedArrayCollection() |
Get the managed array collection | GroomCollectionFacades.h | |
int32 GetNumCurves() |
Get the number of curves | GroomCollectionFacades.h | |
int32 GetNumEdges() |
Get the number of edges | GroomCollectionFacades.h | |
int32 GetNumObjects() |
Get the number of sections | GroomCollectionFacades.h | |
int32 GetNumPoints() |
Get the number of points | GroomCollectionFacades.h | |
int32 GetNumVertices() |
Get the number of vertices | GroomCollectionFacades.h | |
const TArray< int32 > & GetObjectCurveOffsets() |
Get the object curve offsets | GroomCollectionFacades.h | |
const TArray< FString > & GetObjectGroupNames() |
Get the object group names | GroomCollectionFacades.h | |
const TArray< int32 > & GetPointCurveIndices() |
Get the point curve indices | GroomCollectionFacades.h | |
const TArray< FVector3f > & GetPointRestPositions() |
Get the point rest positions | GroomCollectionFacades.h | |
const TArray< FLinearColor > & GetVertexLinearColors() |
Get the curve object indices | GroomCollectionFacades.h | |
| Initialize the curve vertices from point positions and objects offsets | GroomCollectionFacades.h | ||
bool IsConst() |
Is the facade defined constant. | GroomCollectionFacades.h | |
bool IsValid() |
Is the Facade defined on the collection? | GroomCollectionFacades.h | |
void SetCurvePointOffsets
(
const TArray< int32 >& InCurvePointOffsets |
Set the curve point offsets | GroomCollectionFacades.h | |
void SetObjectCurveOffsets
(
const TArray< int32 >& InObjectCurveOffsets |
Set the object curve offsets | GroomCollectionFacades.h | |
void SetObjectGroupNames
(
const TArray< FString >& InObjectGroupNames |
Set the object group names | GroomCollectionFacades.h | |
void SetPointRestPositions
(
const TArray< FVector3f >& InPointRestPositions |
Set the point rest positions | GroomCollectionFacades.h | |
void SetVertexLinearColors
(
const TArray< FLinearColor >& InVertexLinearColors |
Set the vertex linear colors | GroomCollectionFacades.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateCurveObjectIndices() |
Update the curve object indices from the offsets | GroomCollectionFacades.h | |
void UpdateEdgeRestOrientations() |
Update the edge rest orientations with parallel transport | GroomCollectionFacades.h | |
void UpdatePointCurveIndices() |
Update the point curve indices from the offsets | GroomCollectionFacades.h |