Verse API reference page for the gameplay_controls_third_person_device class
Used to adapt the controls to the camera perspective
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object:
| Name | Description |
|---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
gameplay_controls_device |
Used to update the gameplay controls scheme based on current control mode. |
Members
This class has functions, but no data members.
Functions
| Function Name | Description |
|---|---|
AddTo |
Adds the gameplay control to the Player’s gameplay controls stack and pushes it to be the active control. |
AddToAll |
Adds the gameplay control to all Agents gameplay controls stack and pushes it to be the active control. |
Disable |
Disables this device. |
Enable |
Enables this device. |
GetGlobalTransform |
Gets the global transform of this object. |
GetTransform |
Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result. |
MoveTo |
Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_device to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_device it will be stopped and put into the AnimationNotSet state. |
RemoveFrom |
Removes the gameplay control from the Agent’s gameplay controls stack and pops from being the active control replacing it with the next one in the stack. |
RemoveFromAll |
Removes the gameplay control from all Agents gameplay controls stack and pops from being the active control replacing it with the next one in the stack. |
SetGlobalTransform |
Sets the global transform of this object. |
TeleportTo |
Teleports the creative_object to the specified Position and Rotation. |
TeleportTo |
Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly. |
TeleportTo |
Teleports the creative_device to the specified location defined by Transform, also applies rotation and scale accordingly. |