Class EntityHelperFactory
Namespace: ValveResourceFormat.Renderer.Editor.Helpers
Assembly: Renderer.dll
Creates the helpers an entity is drawn with, by the names its class declares them under.
public static class EntityHelperFactoryInheritance
object ← EntityHelperFactory
Methods
Create(IHelperOwner, HelperDeclaration)
Creates the helper a declaration names.
public static EntityHelper? Create(IHelperOwner owner, HelperDeclaration declaration)Parameters
owner IHelperOwner
The entity the helper is for.
declaration HelperDeclaration
The helper as the class of the entity declares it.
Returns
The helper, or null when nothing creates helpers of that name, or no helper goes by it.
CreateHelpers(IHelperOwner)
Creates everything an entity is drawn with: the box of a class that declares a size, the helpers its class declares, one for each of its keys that is drawn, and a box where none of those is seen, unless it is made of map geometry, a path, or a node of one.
public static List<EntityHelper> CreateHelpers(IHelperOwner owner)Parameters
owner IHelperOwner
The entity.
Returns
The helpers, in the order they were created.

