UUxtFarBeamComponent
When added to an actor with a far pointer, this component displays a beam from the pointer ray start to the current hit point.
class UUxtFarBeamComponent;
Header
#include <Controls/UxtFarBeamComponent.h>
Inheritance
Inherits from USplineMeshComponent
Public Functions
Name | |
---|---|
UUxtFarBeamComponent() | |
virtual void | BeginPlay() override |
virtual void | EndPlay(const EEndPlayReason::Type EndPlayReason) override |
virtual void | TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction * ThisTickFunction) override |
void | SetBeamMaterial(UMaterial * NewMaterial) |
Public Attributes
Name | |
---|---|
float | HoverDistance |
Public Functions Documentation
function UUxtFarBeamComponent
UUxtFarBeamComponent()
function BeginPlay
virtual void BeginPlay() override
function EndPlay
virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason
) override
function TickComponent
virtual void TickComponent(
float DeltaTime,
ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction
) override
function SetBeamMaterial
void SetBeamMaterial(
UMaterial * NewMaterial
)
Public Attributes Documentation
variable HoverDistance
float HoverDistance = 0.5f;
Distance over the hit surface to place beam end at.
Updated on 19 August 2021 at 17:42:51 Coordinated Universal Time