Skip to content

Commit

Permalink
Nodes: InstancedPointsNodeMaterial - Add pointWidthNode (#1217)
Browse files Browse the repository at this point in the history
* Nodes: InstancedPointsNodeMaterial - Add pointWidthNode

* Update three.js

* Add examples

* Update patch and delete examples
  • Loading branch information
Methuselah96 authored Aug 30, 2024
1 parent 3958e7a commit fbf4dc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ export interface InstancedPointsNodeMaterialParameters extends NodeMaterialParam
useColor?: boolean | undefined;
pointWidth?: number | undefined;
pointColorNode?: Node | null | undefined;
pointWidthNode?: Node | null | undefined;
}

declare class InstancedPointsNodeMaterial extends NodeMaterial {
useAlphaToCoverage: boolean;
useColor: boolean | undefined;
pointWidth: number;
pointColorNode: Node | null;
pointWidthNode: Node | null;

// Properties from LineDashedMaterial
readonly isPointsMaterial: true;
Expand Down

0 comments on commit fbf4dc6

Please sign in to comment.