Header <Components/ShapeComponent.h>
#include "Components/ShapeComponent.h"Includes 4
<CoreMinimal.h> |
<UObject/ObjectMacros.h> |
<Templates/SubclassOf.h> |
<Components/PrimitiveComponent.h> |
Contents
UShapeComponent | ShapeComponent is a PrimitiveComponent that is represented by a simple geometrical shape (sphere, capsule, box, etc). (uclass class : UPrimitiveComponent) |
class UShapeComponent
class UShapeComponent : public UPrimitiveComponentUCLASSabstracthidecategories=(Object,LOD,Lighting,TextureStreaming,Activation,Components|Activation)editinlinenewshowcategories=(Mobility)MinimalAPIShapeComponent is a PrimitiveComponent that is represented by a simple geometrical shape (sphere, capsule, box, etc).
Member functions 18
| PrepareSharedBodySetup | template<typename ComponentType> bool PrepareSharedBodySetup();protectedChecks if a shared body setup is available (and if we're eligible for it). If successful you must still check for staleness |
| AddShapeToGeomArray | template <typename ShapeElemType> void AddShapeToGeomArray();protected |
| SetShapeToNewGeom | template <typename ShapeElemType> void SetShapeToNewGeom(const FPhysicsShapeHandle& Shape);protected |
| CreateShapeBodySetupIfNeeded | template <typename ShapeElemType> void CreateShapeBodySetupIfNeeded();protected |
| SetLineThickness | void SetLineThickness(float Thickness);UFUNCTIONBlueprintCallableCategory=ShapeSet the LineThickness |
| CreateSceneProxy | virtual FPrimitiveSceneProxy* CreateSceneProxy() override; |
| GetBodySetup | virtual class UBodySetup* GetBodySetup() override; |
| DoCustomNavigableGeometryExport | virtual bool DoCustomNavigableGeometryExport(FNavigableGeometryExport& GeomExport) const override; |
| GetNavigationData | virtual void GetNavigationData(FNavigationRelevantData& Data) const override; |
| IsNavigationRelevant | virtual bool IsNavigationRelevant() const override; |
| CalcBounds | virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const override; |
| ShouldCollideWhenPlacing | virtual bool ShouldCollideWhenPlacing() const override; |
| Serialize | virtual void Serialize(FArchive& Ar) override; |
| GetIgnoreBoundsForEditorFocus | virtual bool GetIgnoreBoundsForEditorFocus() const override; |
| UpdateBodySetup | virtual void UpdateBodySetup();Update the body setup parameters based on shape information |
| GetDesiredAreaClass | TSubclassOf<class UNavAreaBase> GetDesiredAreaClass() const; |
| SetAreaClassOverride | void SetAreaClassOverride(TSubclassOf<class UNavAreaBase> InAreaClassOverride); |
| SetUseSystemDefaultObstacleAreaClass | void SetUseSystemDefaultObstacleAreaClass(); |