Documentation ¶
Index ¶
- func AssignProperties(ent entity3.IEntity, fs filesystem.IFileSystem)
- func AssignStudioModelToEntity(entity entity.IEntity, fs filesystem.IFileSystem)
- func CreateEntity(ent *entity.Entity, fs filesystem.IFileSystem) entity3.IEntity
- func DoesEntityReferenceStudioModel(ent entity.IEntity) bool
- func ParseEntities(data string) (vmf.Vmf, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignProperties ¶
func AssignProperties(ent entity3.IEntity, fs filesystem.IFileSystem)
AssignProperties assigns type specific properties. @TODO This is probably going to grow massively as more common types get implemented. It should probably be refactored.
func AssignStudioModelToEntity ¶
func AssignStudioModelToEntity(entity entity.IEntity, fs filesystem.IFileSystem)
AssignStudioModelToEntity sets a renderable entity's model
func CreateEntity ¶
func CreateEntity(ent *entity.Entity, fs filesystem.IFileSystem) entity3.IEntity
CreateEntity creates a new entity with common properties e.g. origin and angles
func DoesEntityReferenceStudioModel ¶
DoesEntityReferenceStudioModel tests if an entity is tied to a model (normally prop_* classnames, but not exclusively)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.