• Fortnite Documentation
    • What's New in Unreal Editor for Fortnite
    • Discover the Resources Waiting for You as a Fortnite Creator!
    • Get Started Creating in Fortnite
    • Island Settings
    • Editor User Interface
    • Creative User Interface
    • Import Content and Islands
    • Building Basics
    • Editor Best Practices
    • Programming with Verse
    • UEFN Starter Templates
    • Game Collections
    • Template Islands
    • Build a Game
    • Learn Game Mechanics
    • Device Design Examples
    • Scene Graph
    • AI and NPCs
    • Animation and Cinematics
    • Using Devices
    • Using Items
    • Fortnite Weapons Primer
    • In-Game User Interfaces
    • Physics
    • Environments and Landscapes
    • Memory and Optimization
    • Realistic Assets, Characters, and Environments
    • Using Prefabs and Galleries
    • Audio
    • Composing with Fortnite Patchwork
    • Lighting
    • Materials
    • Modeling
    • Intro to Post-processing
    • Visual Effects
    • Using Creator Portal
    • Island Moderation and Guidelines
    • Promoting Your Fortnite Island
    • Collaborate and Publish
    • Education
    • Verse Language Reference
      • Verse Language Version 1 Updates and Deprecations
      • Expressions
      • Comments
      • Constants and Variables
      • Common Types
      • Operators
      • Grouping
      • Code Blocks
      • Functions
      • Failure
      • Specifiers and Attributes
      • Control Flow
      • Time Flow and Concurrency
      • Container Types
      • Composite Types
        • Class
        • Enum
        • Struct
        • Subclass
        • Interface
        • Constructor
      • Working with Verse Types
      • Modules and Paths
    • Video Tutorials
    • Fortnite Creative Glossary
    • Glossary for Unreal Editor for Fortnite
    • Verse Glossary
    • Verse API Reference
  1. Epic GamesDeveloper
  2. Composite Types

Composite Types

Create your own unique type from a composite type.

Composite Types

Create a unique type through the use of composite types. Verse offers several ways you can do this.

Class

Class

A class is a template for creating objects with similar behaviors and properties (fields and methods).

Enum

Enum

An enum is a type used to store named sets of things.

Struct

Struct

A struct is a way to group several related variables together.

Subclass

Subclass

A subclass is a class that extends the definition of another class by adding or modifying the fields and methods of the other class.

Interface

Interface

An interface provides a contract for how to interact with any class that implements the interface.

Constructor

Constructor

A constructor is a special function that creates an instance of the class that it's associated with.

  • verse
  • language

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library