GrabComponent

October 03, 2024

GrabComponent

Path: /Game/AdvancedTurnBasedTileToolkit/Maps/VR/GrabComponent

.. cpp:class:: GrabComponent : public SceneComponent

.. cpp:function:: (exec, bool, exec, bool) TryGrab(exec then, MotionControllerComponent MotionController)

  Type: 

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Has Out Params, Has Defaults, Blueprint Callable, Blueprint Event

  

  :arg then: 
  :type then: exec
  :arg MotionController: 
  :type MotionController: MotionControllerComponent
  :returns execute: 
  :rtype execute: exec
  :returns IsHeld:  (Default: true)
  :rtype IsHeld: bool
  :returns execute: 
  :rtype execute: exec
  :returns IsHeld:  (Default: false)
  :rtype IsHeld: bool

.. cpp:function:: (exec, bool, exec, bool) TryRelease(exec then)

  Type: 

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Has Out Params, Blueprint Callable, Blueprint Event

  

  :arg then: 
  :type then: exec
  :returns execute: 
  :rtype execute: exec
  :returns bReleased:  (Default: false)
  :rtype bReleased: bool
  :returns execute: 
  :rtype execute: exec
  :returns bReleased:  (Default: true)
  :rtype bReleased: bool

.. cpp:function:: void SetShouldSimulateOnDrop(exec then)

  Type: 

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Blueprint Callable, Blueprint Event

  

  :arg then: 
  :type then: exec

.. cpp:function:: void SetPrimitiveCompPhysics(exec then, bool bSimulate)

  Type: 

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Blueprint Callable, Blueprint Event

  

  :arg then: 
  :type then: exec
  :arg bSimulate: 
  :type bSimulate: bool

.. cpp:function:: (exec, EControllerHand) GetHeldByHand(exec then)

  Type: 

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Has Out Params, Blueprint Callable, Blueprint Event, Blueprint Pure

  

  :arg then: 
  :type then: exec
  :returns execute: 
  :rtype execute: exec
  :returns ReturnValue:  (Default: Left)
  :rtype ReturnValue: EControllerHand

.. cpp:function:: void Attach_Parent_to_Motion_Controller()

  Type: AttachParentToMotionController

  Category: 

  Access Modifier: 

  Constant: False

  Flags: 

  AttachParentToMotionController

.. cpp:function:: void Begin_Play(exec then)

  Type: Blueprint implementable event for when the component is beginning play, called before its owning actor's BeginPlay or when the component is dynamically created if the Actor has already BegunPlay.

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Event, Blueprint Event

  Blueprint implementable event for when the component is beginning play, called before its owning actor's BeginPlay or when the component is dynamically created if the Actor has already BegunPlay.

  :arg then: 
  :type then: exec

.. cpp:function:: void Tick(exec then, float DeltaSeconds=0.0)

  Type: Event called every frame if tick is enabled

  Category: 

  Access Modifier: Public

  Constant: False

  Flags: Event, Blueprint Event

  Event called every frame if tick is enabled

  :arg then: 
  :type then: exec
  :arg DeltaSeconds: Delta Seconds Float (single-precision) (Default: 0.0)
  :type DeltaSeconds: float

.. cpp:member:: PointerToUberGraphFrame UberGraphFrame

  Category: 

  Access Modifier: 
  Flags: Zero Constructor, Transit, Duplicate Transient
  Lifetime Condition: None

  

.. cpp:member:: bool bIsHeld

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Transit, Disable Edit On Instance, Is Plain Old Data, No Destructor, Advanced Display, Has Get Value Type Hash
  Lifetime Condition: None

  

.. cpp:member:: MotionControllerComponent MotionControllerRef

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, Instanced Reference, No Destructor, Advanced Display, Has Get Value Type Hash
  Lifetime Condition: None

  

.. cpp:member:: GrabComponent PrimaryGrabComponent

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, Instanced Reference, No Destructor, Advanced Display, Has Get Value Type Hash
  Lifetime Condition: None

  

.. cpp:member:: Rotator PrimaryGrabRelativeRotation

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Transit, Disable Edit On Instance, Is Plain Old Data, No Destructor, Advanced Display
  Lifetime Condition: None

  

.. cpp:member:: bool bSimulateOnDrop

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, Is Plain Old Data, No Destructor, Advanced Display, Has Get Value Type Hash
  Lifetime Condition: None

  

.. cpp:member:: int8 GrabType

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Is Plain Old Data, No Destructor, Has Get Value Type Hash
  Lifetime Condition: None

  

.. cpp:member:: MulticastInlineDelegate OnGrabbed

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, Blueprint Assignable, Advanced Display, Blueprint Callable
  Lifetime Condition: None

  

.. cpp:member:: MulticastInlineDelegate OnDropped

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, Blueprint Assignable, Advanced Display, Blueprint Callable
  Lifetime Condition: None

  

.. cpp:member:: HapticFeedbackEffect_Base OnGrabHapticEffect

  Category: Default

  Access Modifier: 
  Flags: Edit, Blueprint Visible, Zero Constructor, Disable Edit On Instance, No Destructor, Has Get Value Type Hash
  Lifetime Condition: None

  The haptic effect played when this GrabComponent is grabbed

Profile picture

Written by Urakaiketsuya , just a guy who codes. You should follow them on Twitter