Verse Library verse

02 Structure The Miniboard Class

Defines a custom creative device class for rendering and positioning a tactical miniboard in-game.

extracted-snippets/documentation/en-us/fortnite/5-define-the-miniboard/02-structure-the-miniboard-class.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/5-define-the-miniboard
# Local doc:  epic-docs/documentation/en-us/fortnite/5-define-the-miniboard.md
# Section:    Structure the Miniboard Class
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Assets }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { DataTypes }
miniboard<public> := class(creative_device):
@editable
CameraDevice:gameplay_camera_fixed_point_device = gameplay_camera_fixed_point_device{}
@editable
StaticMesh:mesh = Meshes.SM_Miniboard
@editable
Dimensions:vector3 = vector3{}
@editable
HitMarkerStaticMesh:mesh = Meshes.SM_Hit
@editable
MissMarkerStaticMesh:mesh = Meshes.SM_Miss
@editable
BoardOffsetFromCameraDevice:vector3 = vector3{}
@editable
GameBoard:board = board{}
var<private> MiniboardProp:?creative_prop = false

Comments

    Sign in to vote, comment, or suggest an edit. Sign in