1 Year Ago
Render Tags (#758) * Initial commit / backup * Copy entity tags to scene object on initial/change, and ensure light entity's sceneobject is actually the right one * remove unused HasTag overload * Support "world" tag to render only or exclude static objects and hammer geometry * Typo * Include/exclude sunlight and other lights according to set tags * Copy tags to sceneobject on create, and update when tags added/removed from entity. support lights * Let's respect the camera's exclude / render tags in HighlightRenderer * Add tag checks in DrawSceneObject too * Remove unused GetTags overload * Remove unused * ITagSet, SimpleTagSet. Have camera use SimpleTagSet, have sceneobjects use SceneObjectTags * GetAll ->TryGetAll. Use HasExclude/HasRenderTag when adding tag * Only ITagSet is a public interface, hide everything else away * Fix sillyness * Tags property