Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape3DDynMeshBase
- UAvaShapeTorusDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShapeTorusDynMesh.h |
| Include | #include "DynamicMeshes/AvaShapeTorusDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShapeTorusDynamicMesh : public UAvaShape3DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngleDegree | Represents the tube angle in degree for the torus | |
| float | InnerSize | Represents the size ratio available inside the torus | |
| uint8 | NumSides | Represents the precision of each circle composing a slice | |
| uint8 | NumSlices | Represents the number of slices composing the tube | |
| float | StartDegree | Represents the starting angle in degree for the torus |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShapeTorusDynamicMesh
(
const FVector& InSize, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CreateBaseUVs
(
FAvaShapeMesh& BaseMesh, |
||
| bool | CreateEndUVs
(
FAvaShapeMesh& EndMesh, |
||
| bool | CreateStartUVs
(
FAvaShapeMesh& StartMesh, |
||
| bool | GenerateBaseMeshSections
(
FAvaShapeMesh& BaseMesh |
||
| bool | GenerateEndMeshSections
(
FAvaShapeMesh& EndMesh |
||
| bool | GenerateStartMeshSections
(
FAvaShapeMesh& StartMesh |
||
| float | |||
| float | GetInnerSize () |
||
| uint8 | GetNumSides () |
||
| uint8 | GetNumSlices () |
||
| float | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetAngleDegree
(
float InAngleDegree |
||
| void | SetInnerSize
(
float InInnerSize |
||
| void | SetNumSides
(
uint8 InNumSides |
||
| void | SetNumSlices
(
uint8 InNumSlices |
||
| void | SetStartDegree
(
float InStartDegree |
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, 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 |
Constants
| Name | Description |
|---|---|
| MaxNumSides | |
| MaxNumSlices | |
| MESH_INDEX_END | |
| MESH_INDEX_START | |
| MeshName | |
| MinNumSides | |
| MinNumSlices |