Internal: Component constructor
type of the component. Ex. "TransformComponent"
Owning entity. Entity only passed when wrapping existing entity.
Base color to use when Base coloring strategy is used.
Optional debug material override, material should inherit from PotreeBoxCore.material.
(Contents: vec4[]) Deprecated, use clip shapes instead. Up to 6 user-defined world-space clip planes, positive half-space is kept.
Specify coloring strategy.
Specify optional debug graphics.
DistanceAndDensityScaled: Offset where depth and density starts to affectg point size calc.
DistanceAndDensityScaled: Strength of level depth in point size calc.
DistanceAndDensityScaled: Strength of local point density in point size calc.
Debug switch to disable clipping of points against custom clipping planes.
Debug switch to disable culling of cells against custom clipping planes.
Debug trigger to disable update of lod calculations.
Minimum value for distance-based cut-off, cut-off distance will never be less than this value. Set to negative to disable distance-based cutoff.
Cut off chunks that are further away than camera elevation above pointcloud z - minimum times this scale value.Default Value is 5.
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.
Optional gradient texture to colorize scalar values.
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.
Maximum point size in pixels regardless of point size strategy, gets DPI scaled.
Minimum point size in pixels regardless of point size strategy, gets DPI scaled.
Object identifier passed to rendering commands.
Specify origin policy, see enum for details.
Color of point outlines if enabled.
Size of point outlines, set to 0.0 to disable point outlines.
Optional point material override, material should inherit from PotreePointCore.material.
Maximal screen space distance between points before refining, gets adjusted by DPI scaling.
Specify point shape.
Base point size in pixels, gets DPI scaled.
Specify point sizing strategy.
Render flags used to control rendering behavior.
Minimal screen-space size root node can have before being eligble for distance-based culling.
Specify optional shading.
Intensity of point shading effect, if enabled.
URL of path where metadata.js(OLD format: cloud.js) resides.
If true, an extra CPU side copy of the point positions are maintained to enable CPU picking.
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 for Point Cloud Display. The component uses several Cogs variables to control the display. See List of COGS variables, PoTree section, for detailed information about all COGS variables available at runtime that are connected to Point Cloud.