Component constructor
Type-name of the component, e.g. name of sub-class implementing the component. "MyComponent", etc.
Optional texture to override default properties colormap. 2D texture (n**2,1).
A read-only property containing overall range of data for the selected property. Returns x = min, y = max.Returns invalid range min > max if data not available.
Which section of the reservoir to show. Volume = Show all cells. ConstantI = Show all cells [index, *, ], E.g. I-Cross-section ConstantJ = Show all cells [, index, ], E.g. J-Cross-section ConstantK = Show all cells [, *, index], E.g. Layer
Which edges of a regular cell to draw.
Index for Constant? direction. Range: 0..Dims[I/J/K]-1
Internal flag set if component is a Cogs Core component.
Range of data mapping to legend colors for the selected property. Default is invalid range, e.g.use dataRange.If user sets valid range, range must be updated if changing property
Rendering level. 0=Coarsest level, 1=More details, 99=Render all.
Directory storing the converted reservoir.
Reservoir property to show, "SOIL","SWAT", etc.
Time stamp selection for dynamic properties. "YYYYMMDD" or "YYYYMMDDHHMMSS"
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
Graphics for Reservoir data display. Draws full volume or a I/J/K section of the reservoir. The reservoir must be imported using SIMReservoir converter. Import settings must be Single-Directory output and No Compression.