|
@@ -4639,6 +4639,16 @@ export class Scene extends AbstractScene implements IAnimatable, IClipPlanesHold
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Get a list of transform nodes by tags
|
|
|
|
+ * @param tagsQuery defines the tags query to use
|
|
|
|
+ * @param forEach defines a predicate used to filter results
|
|
|
|
+ * @returns an array of TransformNode
|
|
|
|
+ */
|
|
|
|
+ public getTransformNodesByTags(tagsQuery: string, forEach?: (transform: TransformNode) => void): TransformNode[] {
|
|
|
|
+ return this._getByTags(this.transformNodes, tagsQuery, forEach);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
* Overrides the default sort function applied in the renderging group to prepare the meshes.
|
|
* Overrides the default sort function applied in the renderging group to prepare the meshes.
|
|
* This allowed control for front to back rendering or reversly depending of the special needs.
|
|
* This allowed control for front to back rendering or reversly depending of the special needs.
|
|
*
|
|
*
|