Navigation
API > API/Plugins > API/Plugins/XRCreative
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UXRCreativePointerComponent
References
| Module | XRCreative |
| Header | /Engine/Plugins/Experimental/XRCreativeFramework/Source/XRCreative/Public/XRCreativePointerComponent.h |
| Include | #include "XRCreativePointerComponent.h" |
Syntax
UCLASS&40;&41;
class UXRCreativePointerComponent : public USceneComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnabled | ||
| FHitResult | HitResult | ||
| FVector | RawTraceEnd | ||
| TPimplPtr< UE::XRCreative::FOneEuroFilter > | SmoothingFilter | ||
| float | SmoothingLag | ||
| float | SmoothingMinCutoff | ||
| float | TraceMaxLength |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetFilteredTraceEnd
(
const bool bScaledByImpact |
If bScaledByImpact is false, this is the smoothed filter output, roughly `TraceMaxLength_ units away, roughly in the +X direction. | |
| const FHitResult & | GetHitResult () |
||
| FVector | GetRawTraceEnd
(
const bool bScaledByImpact |
If bScaledByImpact is false, this returns the raw input to the smoothing filter, `TraceMaxLength_ units away the +X direction. | |
| bool | IsEnabled () |
||
| void | SetEnabled
(
bool bInEnabled |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Initializes the component. | ||
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. | |
| void | Handle this component being Uninitialized. |