Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UBrushComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/BrushComponent.h |
| Include | #include "Components/BrushComponent.h" |
Syntax
class UBrushComponent : public UPrimitiveComponent
Remarks
A brush component defines a shape that can be modified within the editor. They are used both as part of BSP building, and for volumes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UModel > | Brush | ||
| TObjectPtr< class UBodySetup > | BrushBodySetup | Description of collision |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UBrushComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Create the AggGeom collection-of-convex-primitives from the Brush UModel data. | ||
| bool | Return true if the brush appears to have inverted polys | ||
| void | If the transform mirroring no longer reflects the body setup, request its recalculation |
Overridden from UPrimitiveComponent
| Type | Name | Description | |
|---|---|---|---|
| bool | ComponentIsTouchingSelectionBox
(
const FBox& InSelBBox, |
Determines whether the supplied bounding box intersects with the component. | |
| bool | ComponentIsTouchingSelectionFrustum
(
const FConvexVolume& InFrustum, |
Determines whether the supplied frustum intersects with the component. | |
| FPrimitiveSceneProxy * | Creates a proxy to represent the primitive to the scene manager in the rendering thread. | ||
| UBodySetup * | GetBodySetup () |
Return the BodySetup to use for this PrimitiveComponent (single body case) | |
| ESceneDepthPriorityGroup | Determines the DPG the primitive's primary elements are drawn in. | ||
| void | GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Retrieves the materials used in this component | |
| bool | IsShown
(
const FEngineShowFlags& ShowFlags |
Would this primitive be shown with these rendering flags. |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. | |
| bool | If true, bounds should be used when placing component/actor in level. Does not affect spawning. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | IsEditorOnly () |
Returns whether this component is an editor-only object or not | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | PrePivot_DEPRECATED | Local space translation |
See Also
https://docs.unrealengine.com/latest/INT/Engine/Actors/Volumes
https://docs.unrealengine.com/latest/INT/Engine/Actors/Brushes