Skip to content

Commit d40a5d7

Browse files
mvaligurskyMartin Valigurskywilleastcott
authored
Order change in jsdocs block for consistency (#8073)
* Order change in jsdocs block for consistency * Update src/framework/components/gsplat/system.js Co-authored-by: Will Eastcott <[email protected]> --------- Co-authored-by: Martin Valigursky <[email protected]> Co-authored-by: Will Eastcott <[email protected]>
1 parent 7397c0e commit d40a5d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/framework/components/gsplat/system.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,14 @@ class GSplatComponentSystem extends ComponentSystem {
134134
* during the first frame update when the GSplat is rendered. To be notified immediately when
135135
* materials are created, listen to the 'material:created' event on GSplatComponentSystem:
136136
*
137+
* @param {Camera} camera - The camera instance.
138+
* @param {Layer} layer - The layer instance.
139+
* @returns {ShaderMaterial|null} The material, or null if not created yet.
137140
* @example
138141
* app.systems.gsplat.on('material:created', (material, camera, layer) => {
139142
* // Material is now available
140143
* material.setParameter('myParam', value);
141144
* });
142-
*
143-
* @param {Camera} camera - The camera instance.
144-
* @param {Layer} layer - The layer instance.
145-
* @returns {ShaderMaterial|null} The material, or null if not created yet.
146145
*/
147146
getGSplatMaterial(camera, layer) {
148147
const director = this.app.renderer.gsplatDirector;

0 commit comments

Comments
 (0)