Skip to content

Commit

Permalink
Update declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Dec 15, 2024
1 parent 7f2e7cc commit 972f9a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/three/src/nodes/core/Node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ declare class Node extends EventDispatcher<{
*
* @type {Boolean}
* @default false
* @param {boolean} value
*/
set needsUpdate(value: boolean);
/**
Expand Down Expand Up @@ -196,7 +197,6 @@ declare class Node extends EventDispatcher<{
* Generate a custom cache key for this node.
*
* @return {Number} The cache key of the node.
* @default 0
*/
customCacheKey(): number;
/**
Expand Down Expand Up @@ -287,6 +287,7 @@ declare class Node extends EventDispatcher<{
* The method can be implemented to update the node's internal state before it is used to render an object.
* The {@link Node#updateBeforeType} property defines how often the update is executed.
*
* @abstract
* @param {NodeFrame} frame - A reference to the current node frame.
* @return {Boolean?} An optional bool that indicates whether the implementation actually performed an update or not (e.g. due to caching).
*/
Expand All @@ -295,6 +296,7 @@ declare class Node extends EventDispatcher<{
* The method can be implemented to update the node's internal state after it was used to render an object.
* The {@link Node#updateAfterType} property defines how often the update is executed.
*
* @abstract
* @param {NodeFrame} frame - A reference to the current node frame.
* @return {Boolean?} An optional bool that indicates whether the implementation actually performed an update or not (e.g. due to caching).
*/
Expand All @@ -303,6 +305,7 @@ declare class Node extends EventDispatcher<{
* The method can be implemented to update the node's internal state when it is used to render an object.
* The {@link Node#updateType} property defines how often the update is executed.
*
* @abstract
* @param {NodeFrame} frame - A reference to the current node frame.
* @return {Boolean?} An optional bool that indicates whether the implementation actually performed an update or not (e.g. due to caching).
*/
Expand Down

0 comments on commit 972f9a8

Please sign in to comment.