| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeapMovement/Source/Public/MagicLeapMovementComponent.h |
Include |
#include "MagicLeapMovementComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
Meta=(BlueprintSpawnableComponent))
class UMagicLeapMovementComponent : public UMovementComponent
LuminOS designed spatial movement for objects to feel like they have mass and inertia by tilting and swaying during movement, but still respecting the user's desired placement. The component also offers two options for handling collision during movement (hard and soft). Hard collisions are basically the blocking collisions from the Engine. Soft collisions allow a degree of interpenetration before hitting an impenetrable core as defined by movement settings. Soft collisions are possible only with components that have an "Overlap" response for the moving component. By default the root SceneComponent of the owning Actor of this component is updated. Component to move can be changed by calling SetUpdatedComponent().
Name | Description | ||
---|---|---|---|
|
bSlideAlongSurfaceOnBlockingHit |
In case of a blocking hit, slide the attached object along the hit surface. |
|
|
bSoftCollideWithOverlappingActors |
If true, attached object will have a degree of interpenetration with the overlapping objects. |
|
|
MovementSettings |
The settings to be used when transforming the attached object. |
|
|
Settings3Dof |
Additional settings to be used when transforming the attached object in 3DOF mode. |
|
|
Settings6Dof |
Additional settings to be used when transforming the attached object in 6DOF mode. |
Name | Description | |
---|---|---|
|
UMagicLeapMovementComponent() |
Name | Description | ||
---|---|---|---|
|
AttachObjectToMovementController ( |
Sets the SceneComponent whose transform will control the movement according to the provided movement settings. |
|
|
ChangeDepth ( |
Changes the depth offset of the object from the user's headpose (3Dof) or pointing device (6Dof). |
|
|
ChangeRotation ( |
Changes the rotation about the up-axis of the object being moved. |
|
|
DetachObject ( |
Detaches the currently selected movement controller. |
|
|
GetDefaultSettings ( |
Gets the default settings. |
Name | Description | ||
---|---|---|---|
|
SetUpdatedComponent ( |
Assign the component we move and update. |
Name | Description | ||
---|---|---|---|
|
EndPlay ( |
Ends gameplay for this component. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |