@motion-script/core / PointsMaterial3D
Interface: PointsMaterial3D
Defined in: render3d/material.ts:206
Shading for a points cloud.
Extends
Properties
alphaMap?
optionalalphaMap?:Texture3D
Defined in: render3d/material.ts:213
alphaTest?
optionalalphaTest?:number
Defined in: render3d/material.ts:30
Structural. Discard fragments below this alpha. Cheap cutout transparency.
Inherited from
blending?
optionalblending?:Blending3D
Defined in: render3d/material.ts:36
Structural. How the colour combines with the framebuffer.
Inherited from
color?
optionalcolor?:Color
Defined in: render3d/material.ts:208
depthTest?
optionaldepthTest?:boolean
Defined in: render3d/material.ts:45
Test against the depth buffer. Turn off to force draw-on-top.
Inherited from
depthWrite?
optionaldepthWrite?:boolean
Defined in: render3d/material.ts:43
Write to the depth buffer. Turn off for additive glows and inside-out shells.
Inherited from
dithering?
optionaldithering?:boolean
Defined in: render3d/material.ts:51
Smooth gradient banding.
Inherited from
key?
optionalkey?:string
Defined in: render3d/material.ts:54
Explicit reconciler identity — see Transform3D.key.
Inherited from
map?
optionalmap?:Texture3D
Defined in: render3d/material.ts:212
opacity?
optionalopacity?:number
Defined in: render3d/material.ts:19
0–1. Needs transparent to actually show through. Free to animate.
Inherited from
params?
optionalparams?:Record<string,unknown>
Defined in: render3d/geometry.ts:14
Inherited from
polygonOffset?
optionalpolygonOffset?:boolean
Defined in: render3d/material.ts:47
Nudge depth to break z-fighting between coplanar surfaces.
Inherited from
MaterialCommon3D.polygonOffset
polygonOffsetFactor?
optionalpolygonOffsetFactor?:number
Defined in: render3d/material.ts:48
Inherited from
MaterialCommon3D.polygonOffsetFactor
polygonOffsetUnits?
optionalpolygonOffsetUnits?:number
Defined in: render3d/material.ts:49
Inherited from
MaterialCommon3D.polygonOffsetUnits
side?
optionalside?:Side3D
Defined in: render3d/material.ts:32
Structural. Which faces to rasterize. Default "front".
Inherited from
size?
optionalsize?:number
Defined in: render3d/material.ts:209
sizeAttenuation?
optionalsizeAttenuation?:boolean
Defined in: render3d/material.ts:211
Shrink distant points with perspective. Default true.
toneMapped?
optionaltoneMapped?:boolean
Defined in: render3d/material.ts:40
Structural. Apply the scene's tone mapping. Default true.
Inherited from
transparent?
optionaltransparent?:boolean
Defined in: render3d/material.ts:28
Structural. Opt into alpha blending. Off by default because blended surfaces must be depth-sorted, which costs correctness at intersections — prefer alphaTest for cutouts like foliage.
Inherited from
type
type:
"points"
Defined in: render3d/material.ts:207
vertexColors?
optionalvertexColors?:boolean
Defined in: render3d/material.ts:38
Structural. Read per-vertex colours from the geometry's color buffer.
Inherited from
visible?
optionalvisible?:boolean
Defined in: render3d/material.ts:21
Hide without removing. Free to animate.
Inherited from
wireframe?
optionalwireframe?:boolean
Defined in: render3d/material.ts:34
Structural. Draw edges only.