VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Fortnite › Materials/VFX · Up to Fortnite · Materials/VFX · 207 of 211 in Materials/VFX
Browse Fortnite

Verse API reference page for the spot_light_component class

A spot_light_component emits light from a single point in a cone shape. The shape of the light is defined by two cones: the InnerConeAngleDegrees and OuterConeAngleDegrees. Within the InnerConeAngleDegrees the light achieves full brightness. As you go from the extent of the inner radius to the extents of the OuterConeAngleDegrees a falloff takes place, creating a penumbra, or softening around the spot_light_component's disc of illumination. The Radius of the light defines the length of the cones. More simply, this will work like a flash light or stage can light.

Verse using statement using { /Verse.org/SceneGraph }

Inheritance Hierarchy

This class is derived from the following hierarchy, starting with component:

Name Description
component Base class for authoring logic and data in the SceneGraph. Using components you can author re-usable building blocks of logic and data which can then be added to entities in the scene. Components are a very low level building block which can be used in many ways. For example: * Exposing engine level concepts like mesh or sound * Adding gameplay capabilities like damage or interaction * Storing an inventory for a character in the game As components are generic there is no specific way that they must be used. It is up to the needs of your experience if you use one big game component or if you break up logic into many small components. Classes deriving from component must also specify <final_super> to be added to entities. This ensures the class will always derive directly from component. Further subclassing of the initial derived component is allowed and does not require specifying <final_super> on the derived classes. Only one instance of a component from each subclass group can be added to an entity at a time. For example, given this group of components, only one light_component can exist on a single entity. To create multiple lights you should use multiple entities. light_component := class(component){} capsule_light_component := class(light_component){} directional_light_component := class(light_component){} spot_light_component := class(light_component){} sphere_light_component := class(light_component){} rect_light_component := class(light_component){} ============================================================================== Component Lifetime Components move through a series of lifetime functions as they are added to entities, added to the scene, and begin running in the simulation. Components should override these methods to perform setup and run their simulation. As a component shuts down it will then move through shutdown version of these functions, giving users the opportunity to clean up any retained state on the component before it is disposed . Lifetime Methods: OnAddedToScene OnBeginSimulation -> OnSimulate OnEndSimulation OnRemovingFromScene ==============================================================================
light_component Base class for light components in the SceneGraph. Dependencies: * transform_component on the entity positions the light. Examples of components implementing light_component: * directional_light_component * capsule_light_component * sphere_light_component * rect_light_component * spot_light_component

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Feb 10, 2026
    Keep exploring
    More in Materials/VFX · 207 of 211
    Prev
    sphere light component
    Next
    operatorequals
    Browse all files in this folder (A–Z)
    Next up
    • | [`component`
    • | [`light_component`
    • | [`Disable`
    • | [`Enable`
    • | [`IsEnabled`
    • | [`IsInScene`
    Related topics
    • Spot Light Component Materials/Vfx
    • scenegraph Scene Graph
    • Capsule Light Component Materials/Vfx
    • Rect Light Component Materials/Vfx
    • Directional Light Component Materials/Vfx

    Related

    Open in graph →

    Related topics

    • Spot Light Component
    • scenegraph
    • Capsule Light Component
    • Verse API (module declarations)
    • Rect Light Component
    VerseIsland · an archipelago of Verse & UEFN knowledge
    Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.