Navigation
API > API/Plugins > API/Plugins/AvalancheModifiers > API/Plugins/AvalancheModifiers/Modifiers
Inheritance Hierarchy
- UObject
- UActorModifierCoreBase
- UAvaBaseModifier
- UAvaGeometryBaseModifier
- UAvaNormalModifier
References
| Module | AvalancheModifiers |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheModifiers/Public/Modifiers/AvaNormalModifier.h |
| Include | #include "Modifiers/AvaNormalModifier.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UAvaNormalModifier : public UAvaGeometryBaseModifier
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngleThreshold | Angle to compare and split normal when threshold method is chosen | |
| bool | bAngleWeighted | Recompute normals and weight them by angle | |
| bool | bAreaWeighted | Recompute normals and weight them by area | |
| bool | bInvert | Recompute normals and invert normals and triangles | |
| FString | PolyGroupLayer | PolyGroup to use to split normal from when PolyGroup method is chosen | |
| EAvaNormalModifierSplitMethod | SplitMethod | Recompute normals and use a split method |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| bool | |||
| bool | |||
| bool | GetInvert () |
||
| FString | |||
| int32 | |||
| TArray< FString > | |||
| EAvaNormalModifierSplitMethod | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetAngleThreshold
(
float InAngleThreshold |
||
| void | SetAngleWeighted
(
bool bInAngleWeighted |
||
| void | SetAreaWeighted
(
bool bInAreaWeighted |
||
| void | SetInvert
(
bool bInInvert |
||
| void | SetPolyGroupLayer
(
const FString& InPolyGroupLayer |
||
| void | SetPolyGroupLayerIdx
(
int32 InPolyGroupLayer |
||
| void | SetSplitMethod
(
EAvaNormalModifierSplitMethod InSplitMethod |
Overridden from UActorModifierCoreBase
| Type | Name | Description | |
|---|---|---|---|
| void | Apply () |
Override in child classes, apply this modifier on the actual actor, call Next or Fail to complete the modifier execution | |
| void | OnModifierAdded
(
EActorModifierCoreEnableReason InReason |
Called after the modifier was added to a stack and initialized after creation or serialization or duplication | |
| void | OnModifierCDOSetup
(
FActorModifierCoreMetadata& InMetadata |
Override metadata for this modifier, called only once before modifier CDO is registered | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |