Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape3DDynMeshBase
- UAvaShapeSphereDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShapeSphereDynMesh.h |
| Include | #include "DynamicMeshes/AvaShapeSphereDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShapeSphereDynamicMesh : public UAvaShape3DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | EndLongitude | Represents the longitude (Z) angle in degree for the sphere at the end | |
| float | LatitudeDegree | Represents the total latitude (Y) angle in degree for the sphere | |
| uint8 | NumSides | Represents the precision of the sphere mesh | |
| float | PreEditEndLongitude | ||
| float | PreEditStartLongitude | ||
| float | StartLatitude | Represents the latitude (Y) angle in degree for the sphere at the start | |
| float | StartLongitude | Represents the longitude (Z) angle in degree for the sphere at the start |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShapeSphereDynamicMesh
(
const FVector& InSize, |
Functions
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 | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |
Constants
| Name | Description |
|---|---|
| MaxNumSides | |
| MESH_INDEX_BOTTOM | |
| MESH_INDEX_END | |
| MESH_INDEX_START | |
| MESH_INDEX_TOP | |
| MeshName | |
| MinNumSides |