Interface ConstPhysicsMaterial
- All Superinterfaces:
Comparable<JoltPhysicsObject>
,ConstJoltPhysicsObject
- All Known Implementing Classes:
PhysicsMaterial
,PhysicsMaterialSimple
Read-only access to a
PhysicsMaterial
. (native type: const
PhysicsMaterial)-
Method Summary
Modifier and TypeMethodDescriptionCopy the debug color.Return the debug name.toRefC()
Create a counted reference to the nativePhysicsMaterial
.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getDebugColor
Color getDebugColor()Copy the debug color. The material is unaffected.- Returns:
- a new object
-
getDebugName
String getDebugName()Return the debug name. The material is unaffected.- Returns:
- a string of text or
null
-
toRefC
PhysicsMaterialRefC toRefC()Create a counted reference to the nativePhysicsMaterial
.- Returns:
- a new JVM object with a new native object assigned
-