Files
sbox-public/engine/Sandbox.Tools/MapEditor/HammerEntities/SkyboxReferenceEntity.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

24 lines
797 B
C#

namespace Editor.MapEditor.EntityDefinitions;
//
// This is a weird entity, the c++ game entity system finds these by classname
// and treats them as a point prefab loading the target map as a spawngroup
//
[Library( "skybox_reference" )]
[HammerEntity]
[EditorModel( "models/editor/skybox_reference.vmdl" )]
[Title( "Skybox Reference" ), Category( "Fog & Sky" ), Icon( "photo_camera" )]
[Global( "3dskybox" )]
class SkyBoxReferenceEntity : HammerEntityDefinition
{
[Property( "targetMapName", Title = "Map Name" ), FGDType( "instance_file" )]
public string TargetMapName { get; set; }
[Property( "fixupNames", Title = "Fixup Entity Names" )]
public bool FixupNames { get; set; } = false;
[Property( "worldGroupID" )]
public string WorldGroupID { get; set; } = "skyboxWorldGroup0";
}