Navigation
API > API/Plugins > API/Plugins/ZoneGraph
Inheritance Hierarchy
- UPrimitiveComponent
- UZoneShapeComponent
References
| Module | ZoneGraph |
| Header | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneShapeComponent.h |
| Include | #include "ZoneShapeComponent.h" |
Syntax
UCLASS (ClassGroup=Custom, BlueprintType, ShowCategories=(Mobility),
HideCategories=(Physics, Collision, Lighting, Rendering, Mobile),
Meta=(BlueprintSpawnableComponent))
class UZoneShapeComponent : public UPrimitiveComponent
Constructors
| Type | Name | Description | |
|---|---|---|---|
UZoneShapeComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddUniquePerPointLaneProfile
(
const FZoneLaneProfileRef& NewLaneProfileRef |
Adds new one if one does not exists | |
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
||
| void | Removes per point lane templates. | ||
| void | Removes unused items from the per point lane template array. | ||
| FPrimitiveSceneProxy * | |||
| const FZoneLaneProfileRef & | |||
| TConstArrayView< FZoneShapeConnection > | |||
| TArray< FZoneShapePoint > & | |||
| FZoneGraphTagMask & | |||
| int32 | GetNumPoints () |
||
| int32 | |||
| TConstArrayView< FZoneLaneProfileRef > | |||
| TConstArrayView< FZoneShapePoint > | GetPoints () |
||
| void | GetPolygonLaneProfiles
(
TArray< FZoneLaneProfile >& OutLaneProfiles |
||
| EZoneShapePolygonRoutingType | |||
| const FZoneShapeConnector * | GetShapeConnectorByPointIndex
(
int32 PointIndex |
||
| TConstArrayView< FZoneShapeConnector > | |||
| uint32 | GetShapeHash () |
||
| FZoneShapeType | GetShapeType () |
||
| void | GetSplineLaneProfile
(
FZoneLaneProfile& OutLaneProfile |
||
| FZoneGraphTagMask | GetTags () |
||
| bool | IsEditorOnly () |
||
| bool | |||
| bool | Returns true if the shape is closed form. | ||
| void | OnRegister () |
||
| FOnShapeDataChanged & | |||
| void | OnUnregister () |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostEditUndo () |
||
| void | PostLoad () |
||
| void | Serialize
(
FArchive& Ar |
||
| void | SetCommonLaneProfile
(
const FZoneLaneProfileRef& LaneProfileRef |
Sets lane profile which is used for spline lanes, and polygon points which are set to Inherit. | |
| void | SetPolygonRoutingType
(
const EZoneShapePolygonRoutingType NewType |
Sets the polygon routing type. | |
| bool | SetReverseLaneProfile
(
bool bReverse |
Set whether common lane profile should be reversed. | |
| void | SetShapeType
(
FZoneShapeType Type |
Sets shape type. | |
| void | SetTags
(
const FZoneGraphTagMask NewTags |
Sets shape tags. | |
| void | Updates how shape connectors are connected to other shapes. | ||
| void | Updates how shape connectors are connected to other shapes. | ||
| void | UpdatePointRotationAndTangent
(
int32 PointIndex |
Calculates rotation and tangent for a specific point. | |
| void | UpdateShape () |
Updates shape, calculates auto tangents, and adjusts lane points to match the lane templates, updates connectors and connections. | |
| void | Updates shape connectors from the points. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnShapeDataChanged |