Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape3DDynMeshBase
- UAvaShapeCubeDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShapeCubeDynMesh.h |
| Include | #include "DynamicMeshes/AvaShapeCubeDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShapeCubeDynamicMesh : public UAvaShape3DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 | BevelNum | Represents the bevel number of division, only valid when bevel size is greater than zero | |
| float | BevelSizeRatio | Represents the bevel size applied on each face of the cube, 0 means no bevels |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShapeCubeDynamicMesh
(
const FVector& InSize, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | CreateFaceUVs
(
FAvaShapeMesh& InMesh, |
||
| bool | GenerateBackMeshSections
(
FAvaShapeMesh& BackMesh |
||
| bool | GenerateBottomMeshSections
(
FAvaShapeMesh& BottomMesh |
||
| bool | GenerateFrontMeshSections
(
FAvaShapeMesh& FrontMesh |
||
| bool | GenerateLeftMeshSections
(
FAvaShapeMesh& LeftMesh |
||
| bool | GenerateRightMeshSections
(
FAvaShapeMesh& RightMesh |
||
| bool | GenerateTopMeshSections
(
FAvaShapeMesh& TopMesh |
||
| uint8 | GetBevelNum () |
||
| FVector | GetBevelSize () |
||
| float | |||
| float | |||
| FVector | GetScaleSize () |
||
| float | GetSegment () |
||
| FVector | |||
| void | |||
| void | |||
| void | |||
| void | SetBevelNum
(
uint8 InBevel |
||
| void | SetBevelSizeRatio
(
float InBevel |
||
| void | SetSegment
(
float InSegment |
Overridden from UAvaShapeDynamicMeshBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CreateMesh
(
FAvaShapeMesh& InMesh |
Override this in child classes to create the mesh if it's visible | |
| bool | CreateUVs
(
FAvaShapeMesh& InMesh, |
Override this in child classes when you create UV for a specific mesh | |
| const FString & | GetMeshName () |
Get the name of the shape | |
| bool | IsMeshVisible
(
int32 MeshIndex |
Override this in child classes, called before creating mesh if visible | |
| void | Override this in child classes, for 2D and 3D shape to update the scale | ||
| void | Override this in child classes, to register new meshes |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |