Interface ConstCollisionGroup
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
- All Known Implementing Classes:
CollisionGroup
Read-only access to a
CollisionGroup
.-
Method Summary
Modifier and TypeMethodDescriptionAccess the group filter.int
Return the main group ID.int
Return the sub-group ID.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getGroupFilter
ConstGroupFilter getGroupFilter()Access the group filter.- Returns:
- a new JVM object with the pre-existing native object assigned, or
null
if none
-
getGroupId
int getGroupId()Return the main group ID. The group is unaffected.- Returns:
- the
GroupID
value
-
getSubGroupId
int getSubGroupId()Return the sub-group ID. The group is unaffected.- Returns:
- the
SubGroupID
value
-