Class: ScreenPointsMaterial
Class: ScreenPointsMaterial
Material for screen points. Using in ScreenPoints object.
Hierarchy
ShaderMaterial
↳
ScreenPointsMaterial
Constructors
constructor
• new ScreenPointsMaterial(parameters
): ScreenPointsMaterial
Parameters
Name | Type | Description |
---|---|---|
parameters | ScreenPointsMaterialParameters | initial material parameters. |
Returns
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.