Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/ArrowComponent.h |
Include |
#include "Components/ArrowComponent.h" |
class UArrowComponent : public UPrimitiveComponent
A simple arrow rendered using lines. Useful for indicating which way an object is facing.
Name | Description | ||
---|---|---|---|
|
ArrowColor |
Color to draw arrow |
|
|
float |
ArrowLength |
Total length of drawn arrow including head |
|
float |
ArrowSize |
Relative size to scale drawn arrow by |
|
uint8: 1 |
bIsScreenSizeScaled |
Set to limit the screen size of this arrow |
|
uint32: 1 |
bLightAttachment |
If true, this arrow component is attached to a light actor |
|
uint8: 1 |
bTreatAsASprite |
If true, don't show the arrow when EngineShowFlags.BillboardSprites is disabled. |
|
bool |
bUseInEditorScaling |
Whether to use in-editor arrow scaling (i.e. to be affected by the global arrow scale) |
|
float |
ScreenSize |
The size on screen to limit this arrow to (in screen space) |
|
SpriteInfo |
Sprite category information regarding the arrow component, if being treated as a sprite. |
Name | Description | |
---|---|---|
|
UArrowComponent ( |
Name | Description | ||
---|---|---|---|
|
void |
SetArrowColor ( |
Updates the arrow's colour, and tells it to refresh |
|
void |
SetArrowFColor ( |
|
|
void |
SetArrowLength ( |
|
|
void |
SetArrowSize ( |
|
|
void |
SetEditorScale ( |
Set the scale that we use when rendering in-editor |
|
void |
SetIsScreenSizeScaled ( |
|
|
void |
SetScreenSize ( |
|
|
void |
SetTreatAsASprite ( |
|
|
void |
SetUseInEditorScaling ( |
Name | Description | ||
---|---|---|---|
|
bool |
ComponentIsTouchingSelectionBox ( |
Determines whether the supplied bounding box intersects with the component. |
|
bool |
ComponentIsTouchingSelectionFrustum ( |
Determines whether the supplied frustum intersects with the component. |
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Name |
Description |
---|---|
EditorScale |
The scale we use when rendering in-editor |
Name | Description | ||
---|---|---|---|
|
SpriteCategoryName_DEPRECATED |
Sprite category that the arrow component belongs to, if being treated as a sprite. |