Navigation
API > API/Plugins > API/Plugins/GeometryMask
Inheritance Hierarchy
- UActorComponent
- UGeometryMaskCanvasReferenceComponentBase
- UGeometryMaskWriteMeshComponent
References
| Module | GeometryMask |
| Header | /Engine/Plugins/Experimental/GeometryMask/Source/GeometryMask/Public/GeometryMaskWriteComponent.h |
| Include | #include "GeometryMaskWriteComponent.h" |
Syntax
UCLASS (BlueprintType, HideCategories=(Activation, Cooking, AssetUserData, Navigation),
Meta=(BlueprintSpawnableComponent))
class UGeometryMaskWriteMeshComponent :
public UGeometryMaskCanvasReferenceComponentBase ,
public IGeometryMaskWriteInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bWriteWhenHidden | Write to the mask even when this or it's owner is hidden. | |
| TMap< FName, TWeakObjectPtr< USceneComponent > > | CachedComponentsWeak | ||
| TMap< FName, FGeometryMaskBatchElementData > | CachedMeshData | ||
| FCriticalSection | CanvasCS | To protect async-unsafe calls. | |
| int32 | LastPrimitiveComponentCount | ||
| FGeometryMaskWriteParameters | Parameters |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
||
| void | OnDynamicMeshChanged
(
UDynamicMeshComponent* InDynamicMeshComponent |
||
| void | OnStaticMeshChanged
(
UStaticMeshComponent* InStaticMeshComponent |
||
| void | Resets cached data, triggers rebuild. | ||
| void | |||
| void | UpdateCachedDynamicMeshData
(
TConstArrayView< UPrimitiveComponent* > InPrimitiveComponents |
||
| void | UpdateCachedStaticMeshData
(
TConstArrayView< UPrimitiveComponent* > InPrimitiveComponents |
Overridden from UGeometryMaskCanvasReferenceComponentBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Cleanup () |
||
| bool | Override to inject CanvasName into TryResolveCanvas(FName). |
Overridden from IGeometryMaskWriteInterface
| Type | Name | Description | |
|---|---|---|---|
| void | DrawToCanvas
(
FCanvas* InCanvas |
||
| const FGeometryMaskWriteParameters & | |||
| FOnGeometryMaskSetCanvasNativeDelegate & | OnSetCanvas () |
||
| void | SetParameters
(
FGeometryMaskWriteParameters& InParameters |