Class: ScreenPointsMaterial
Class: ScreenPointsMaterial
Material for screen points. Using in ScreenPoints object.
Extends
ShaderMaterial
Constructors
Constructor
new ScreenPointsMaterial(
parameters
):ScreenPointsMaterial
Parameters
parameters
ScreenPointsMaterialParameters
initial material parameters.
Returns
ScreenPointsMaterial
Overrides
ShaderMaterial.constructor
Properties
maxScreenCorrection
maxScreenCorrection:
number
If the point size is bigger than this factor, its size will be kept constant in the screen space. Works only with orthogonal camera and worldUnits=true.
nearScreenCorrection
nearScreenCorrection:
number
If the point is closer than this distance, its size will be kept constant in the screen space. Works only with perspective camera and worldUnits=true.
reduceNearScreenSize
reduceNearScreenSize:
number
Distance from camera for reducing near points screen size when worldUnits=true.
worldUnits
worldUnits:
boolean
Size unit mode. If true then points size in real space units else in screen space units.