Internal: Component constructor
type of the component. Ex. "TransformComponent"
Owning entity. Entity only passed when wrapping existing entity.
Debugging: Enable colors that show structure of dynamic hierarchy.
Debugging: Enable colors that show depth values.
Debugging: Disable update of dynamic lod calculations.
Draw order within a render bucke. Useful to control transparency overdraw. This value will be overriden by the material's draworder if that is nonzero.
Gradient texture to colorize scalar values.
Use depth data if data source has depth data.
Internal flag set if component is a Cogs Core component.
Layer mask used to determine visibility for a given camera viewport. The layer mask is combined with that of the camera. The resulting value can then be combined with the result of isVisible() to form a final visibility value.
Object identifier passed to rendering commands.
Render flags used to control rendering behavior.
URL of json describing image pyramid.
Which channel to use for color.
Set the source domain for scalar values, see 360.json's bias and scale to account for datatype.
Set the source domain for scalar values, see 360.json's bias and scale to account for datatype.
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
Component in Extension Image360