Class: Pointset

Pointset() → {Pointset}

new Pointset() → {Pointset}

Provides an object which stores points and provides method which controls its position. This is created when a valid json file containing point is read into a Zinc.Scene object.
Author:
  • Alan Wu
Source:
Returns:
Type
Pointset

Methods

createMesh(geometryIn, materialIn, options)

Create the pointsets using geometry and material.
Parameters:
Name Type Description
geometryIn THREE.Geomtry Geometry of points to be rendered.
materialIn THREE.Material Material to be set for the lines.
options Object Provide various options
Properties
Name Type Description
localTimeEnabled Boolean A flag to indicate either the lines is time dependent.
localMorphColour Boolean A flag to indicate either the colour is time dependent.
Source:

setSize(size)

Set the size of the points.
Parameters:
Name Type Description
size Number size to be set.
Source:

setSizeAttenuation(flag)

Turn size attenuation on/off based on the flag.
Parameters:
Name Type Description
flag Boolean Determin either size attenuation should be on or off.
Source:

(inner) getCircularTexture()

Shape of the points is created using the function below
Source: