Files
sbox-public/engine/Sandbox.Tools/MapEditor/HammerEntities/SkyCameraEntity.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

20 lines
682 B
C#

namespace Editor.MapEditor.EntityDefinitions;
/// <summary>
/// An entity used to control the 3D Skybox.
/// Its origin is used to determine the 3D Skybox's position relative to the map.
/// Place this entity, in the 3D Skybox, at the point where the origin of the map should be.
/// </summary>
[Library( "sky_camera" )]
[HammerEntity]
[EditorModel( "models/editor/sky_camera.vmdl" )]
[Title( "Sky Camera" ), Category( "Fog & Sky" ), Icon( "photo_camera" )]
class SkyCameraEntity : HammerEntityDefinition
{
/// <summary>
/// Scale of the skybox.
/// </summary>
[Property( "scale", Title = "3D Skybox Scale" ), DefaultValue( "16" )]
public float SkyboxScale { get; set; }
}