FWidget::Render_Axis

Draws an arrow head line for a specific axis. Draws an arrow head line for a specific axis.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/UnrealWidget.h

Include

#include "UnrealWidget.h"

Source

/Engine/Source/Editor/UnrealEd/Private/UnrealWidget.cpp

Syntax

void Render_Axis
(
    const FSceneView * View,
    FPrimitiveDrawInterface * PDI,
    EAxisList::Type InAxis,
    FMatrix & InMatrix,
    UMaterialInterface * InMaterial,
    const FLinearColor & InColor,
    FVector2D & OutAxisDir,
    const FVector & InScale,
    bool bDrawWidget,
    bool bCubeHead,
    float AxisLengthOffset
)

Remarks

Draws an arrow head line for a specific axis. Draws an arrow head line for a specific axis.

Parameters

Parameter

Description

bCubeHead

[opt] If true, render a cube at the axis tips. If false (the default), render a cone.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss