Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/ShapeComponent.h |
Include |
#include "Components/ShapeComponent.h" |
class UShapeComponent : public UPrimitiveComponent
ShapeComponent is a PrimitiveComponent that is represented by a simple geometrical shape (sphere, capsule, box, etc).
Name | Description | ||
---|---|---|---|
|
TSubclassOf< cl... |
AreaClass |
Navigation area type (empty = default obstacle) |
|
uint8: 1 |
bDrawOnlyIfSelected |
Only show this component if the actor is selected |
|
uint8: 1 |
bDynamicObstacle |
If set, shape will be exported for navigation as dynamic modifier instead of using regular collision data |
|
uint8: 1 |
bShouldCollideWhenPlacing |
If true it allows Collision when placing even if collision is not enabled |
|
uint8: 1 |
bUseArchetypeBodySetup |
If the body setup can be shared (i.e. there have been no alterations compared to the CDO) |
|
UBodySetup *... |
ShapeBodySetup |
Description of collision |
|
ShapeColor |
Color used to draw the shape. |
Name | Description | |
---|---|---|
|
UShapeComponent ( |
Name | Description | ||
---|---|---|---|
|
AddShapeToGeomArray() |
||
|
AddShapeToGeomArray() |
||
|
AddShapeToGeomArray() |
||
|
AddShapeToGeomArray() |
||
|
CreateShapeBodySetupIfNeeded() |
||
|
PrepareSharedBodySetup() |
Checks if a shared body setup is available (and if we're eligible for it). |
|
|
SetShapeToNewGeom ( |
||
|
SetShapeToNewGeom ( |
||
|
SetShapeToNewGeom ( |
||
|
SetShapeToNewGeom ( |
||
|
UpdateBodySetup() |
Update the body setup parameters based on shape information |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
DoCustomNavigableGeometryExport ( |
Collects custom navigable geometry of component. |
|
|
UBodySetup &... |
GetBodySetup() |
Return the BodySetup to use for this PrimitiveComponent (single body case) |
|
IgnoreBoundsForEditorFocus() |
Whether or not the bounds of this component should be considered when focusing the editor camera to an actor with this component in it. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
|
ShouldCollideWhenPlacing() |
If true, bounds should be used when placing component/actor in level. Does not affect spawning. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
Name | Description | ||
---|---|---|---|
|
GetNavigationData ( |
Prepare navigation modifiers |
|
|
IsNavigationRelevant() |
Are modifiers active? |