Navigation
API > API/Plugins > API/Plugins/HairStrandsEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorFactory
- UGroomActorFactory
References
| Module | HairStrandsEditor |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsEditor/Public/GroomActorFactory.h |
| Include | #include "GroomActorFactory.h" |
Syntax
UCLASS&40;MinimalAPI, Config&61;Editor&41;
class UGroomActorFactory : public UActorFactory
Constructors
| Type | Name | Description | |
|---|---|---|---|
UGroomActorFactory
(
const FObjectInitializer& ObjectInitializer |
Overridden from UActorFactory
| Type | Name | Description | |
|---|---|---|---|
| FQuat | AlignObjectToSurfaceNormal
(
const FVector& InSurfaceNormal, |
Return a quaternion which aligns this actor type to the specified surface normal | |
| bool | CanCreateActorFrom
(
const FAssetData& AssetData, |
||
| UObject * | GetAssetFromActorInstance
(
AActor* ActorInstance |
Given an instance of an actor, find the wrapped asset object which can be used to create a valid FAssetData. | |
| void | PostCreateBlueprint
(
UObject* Asset, |
Override this in derived factory classes if needed. | |
| void | PostSpawnActor
(
UObject* Asset, |
Subclasses may implement this to modify the actor after it has been spawned IMPORTANT: If you override this, you should usually also override PostCreateBlueprint()! |