An enum declaring bitflags for Valve resource world object types. It defines named flags like ImageLod, Model, Decal and various rendering/culling related flags for use in editor tooling.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.Utils;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat;
/// <summary>
/// Object type flags for world objects.
/// </summary>
[Flags]
public enum ObjectTypeFlags
{
#pragma warning disable CS1591
None = 0x0,
ImageLod = 0x1,
GeometryLod = 0x2,
Decal = 0x4,
Model = 0x8,
BlockLight = 0x10,
NoShadows = 0x20,
WorldspaceTexureBlend = 0x40, // do not fix typo, it's in the original enum
DisabledInLowQuality = 0x80,
NoSunShadows = 0x100,
RenderWithDynamic = 0x200,
RenderToCubemaps = 0x400,
ModelHasLods = 0x800,
Overlay = 0x2000,
PrecomputedVismembers = 0x4000,
StaticCubeMap = 0x8000,
DisableVisCulling = 0x10000,
BakedGeometry = 0x20000,
#pragma warning restore CS1591
}