Static utility class providing centralized functionality for working with Groups in realvirtual.
More...
|
static List< string > | GetAllGroupNames () |
| Gets all unique group names in the scene.
|
|
static List< GameObject > | GetGameObjectsWithGroup (string groupName) |
| Gets all GameObjects that have a Group component with the specified group name.
|
|
static List< GameObject > | GetGameObjectsWithGroupIncludingChildren (string groupName) |
| Gets all GameObjects with the specified group name including all their child objects.
|
|
static List< GameObject > | GetGameObjectsWithAllGroups (List< string > groupNames) |
| Gets GameObjects that belong to ALL specified groups.
|
|
static List< GameObject > | GetMeshesWithGroup (string groupName) |
| Gets GameObjects with the specified group that also have MeshFilter components.
|
|
static List< GameObject > | GetMeshesWithAllGroups (List< string > groupNames) |
| Gets GameObjects with all specified groups that also have MeshFilter components.
|
|
static Bounds | GetGroupBounds (string groupName) |
| Calculates the combined bounds of all renderers in objects belonging to the specified group.
|
|
static Bounds | GetGroupBounds (List< GameObject > groupObjects) |
| Calculates the combined bounds of all renderers in the provided list of GameObjects.
|
|
static List< Renderer > | GetRenderersFromGroup (string groupName) |
| Gets all renderers from objects in the specified group.
|
|
static List< Renderer > | GetRenderersFromGroup (List< GameObject > groupObjects) |
| Gets all renderers from the provided list of GameObjects.
|
|
static Collider | GetFirstColliderInGroup (string groupName) |
| Finds the first collider in objects belonging to the specified group.
|
|
static Collider | GetFirstColliderInGroup (List< GameObject > groupObjects) |
| Finds the first collider in the provided list of GameObjects.
|
|
static List< Collider > | GetAllCollidersInGroup (string groupName) |
| Gets all colliders from objects in the specified group.
|
|
static List< Collider > | GetAllCollidersInGroup (List< GameObject > groupObjects) |
| Gets all colliders from the provided list of GameObjects.
|
|
static MeshCollider | CreateMeshColliderForGroup (GameObject target, string groupName) |
| Creates a MeshCollider on the target GameObject that encompasses all meshes in the specified group.
|
|
static MeshCollider | CreateMeshColliderForGroup (GameObject target, List< GameObject > groupObjects) |
| Creates a MeshCollider on the target GameObject that encompasses all meshes in the provided GameObjects.
|
|
static Mesh | CombineGroupMeshes (List< GameObject > groupObjects, Transform targetTransform=null) |
| Combines all meshes from the specified group objects into a single mesh.
|
|
static List< string > | GetGroupNamesFromGameObject (GameObject obj) |
| Gets all group names from a specific GameObject.
|
|
static bool | HasGroup (GameObject obj, string groupName) |
| Checks if a GameObject belongs to the specified group.
|
|
static bool | HasAllGroups (GameObject obj, List< string > groupNames) |
| Checks if a GameObject belongs to ALL specified groups.
|
|
Static utility class providing centralized functionality for working with Groups in realvirtual.
Offers methods for querying, bounds calculation, collider management, and mesh operations on grouped objects.