USkeletalMeshComponent::LineTraceComponent

Trace a ray against just this component.

Override Hierarchy

UPrimitiveComponent::LineTraceComponent()

USkeletalMeshComponent::LineTraceComponent()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp

Syntax

virtual bool LineTraceComponent
(
    FHitResult & OutHit,
    const FVector Start,
    const FVector End,
    const FCollisionQueryParams & Params
)

Remarks

Trace a ray against just this component.

Returns

true if a hit is found

Parameters

Parameter

Description

OutHit

Information about hit against this component, if true is returned

Start

Start location of the ray

End

End location of the ray

Params

Additional parameters used for the trace

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