Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
If set to ApplyToChildren the fontHandle is also passed to all child entities with 'fontHandle' field and all child FontSelectorComponents is also synced with same Font+Size.
Name of Font.
Size of font.
Internal flag set if component is a Cogs Core component.
Gets the optional owning entity
Component name == type. For compatibility
Gets the type of the component. Ex. "TransformComponent", "SceneComponent" etc.
Static
createInternal: Creates a new component of the given type (name). Component is wrapped when adding to an entity.
Type of the component. Ex. "TransformComponent"
Created Cogs.js component.
Static
wrap
Creates fontHandle from Font+Size passing handle to other components having the 'fontHandle' field.