UArrowComponent

Inheritance Hierarchy

Syntax

class UArrowComponent : public UPrimitiveComponent

Remarks

A simple arrow rendered using lines. Useful for indicating which way an object is facing.

Variables

Name Description

Public variable

FColor

 

ArrowColor

Public variable

float

 

ArrowSize

Public variable

bool

 

bIsScreenSizeScaled

Set to limit the screen size of this arrow

Public variable

uint32 : 1

 

bLightAttachment

If true, this arrow component is attached to a light actor

Public variable

uint32 : 1

 

bTreatAsASprite

If true, don't show the arrow when EngineShowFlags.BillboardSprites is disabled.

Public variable

bool

 

bUseInEditorScaling

Whether to use in-editor arrow scaling (i.e. to be affected by the global arrow scale)

Public variable

float

 

ScreenSize

The size on screen to limit this arrow to (in screen space)

Public variable

FSpriteCategory ...

 

SpriteInfo

Sprite category information regarding the arrow component, if being treated as a sprite.

Constructors

Name Description

Public function

UArrowComponent

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function Virtual

void

 

SetArrowColor

(
    FLinearColor NewColor
)

WITH_EDITORONLY_DATA.

Public function Static

void

 

SetEditorScale

(
    float InEditorScale
)

Set the scale that we use when rendering in-editor

Overridden from UPrimitiveComponent

Name Description

Public function Virtual

bool

 

ComponentIsTouchingSelectionBox

(
    const FBox & InSelBBox,
    const FEngineShowFlags & ShowFlags,
    const bool bConsiderOnlyBSP,
    const bool bMustEncompassEntireComp...
)

Determines whether the supplied bounding box intersects with the component.

Public function Virtual

bool

 

ComponentIsTouchingSelectionFrustum

(
    const FConvexVolume & InFrustum,
    const FEngineShowFlags & ShowFlags,
    const bool bConsiderOnlyBSP,
    const bool bMustEncompassEntireComp...
)

Determines whether the supplied frustum intersects with the component.

Public function Virtual

FPrimitiveSc ...

 

CreateSceneProxy()

Creates a proxy to represent the primitive to the scene manager in the rendering thread.

Overridden from USceneComponent

Name Description

Public function Virtual

FBoxSphereBo ...

 

CalcBounds

(
    const FTransform & LocalToWorld
)

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.

Constants

Name

Description

EditorScale

The scale we use when rendering in-editor

References

Module

Engine

Header

Runtime/Engine/Classes/Components/ArrowComponent.h