All Known Implementing Classes:
BoxShape, BoxShapeSettings, CapsuleShape, CapsuleShapeSettings, Character, CharacterBase, CharacterSettings, CharacterVirtual, CharacterVirtualSettings, CompoundShape, CompoundShapeSettings, ConeConstraint, ConeConstraintSettings, Constraint, ConstraintSettings, ConvexHullShape, ConvexHullShapeSettings, ConvexShape, ConvexShapeSettings, CylinderShape, CylinderShapeSettings, DecoratedShape, DecoratedShapeSettings, DistanceConstraint, DistanceConstraintSettings, EmptyShape, EmptyShapeSettings, FixedConstraint, FixedConstraintSettings, GearConstraint, GearConstraintSettings, GroupFilter, GroupFilterTable, HeightFieldShape, HeightFieldShapeSettings, HingeConstraint, HingeConstraintSettings, MeshShape, MeshShapeSettings, MotorcycleControllerSettings, MutableCompoundShape, MutableCompoundShapeSettings, OffsetCenterOfMassShape, OffsetCenterOfMassShapeSettings, PathConstraint, PathConstraintPath, PathConstraintPathHermite, PathConstraintSettings, PhysicsMaterial, PhysicsMaterialSimple, PhysicsScene, PlaneShape, PlaneShapeSettings, PointConstraint, PointConstraintSettings, PulleyConstraint, PulleyConstraintSettings, RackAndPinionConstraint, RackAndPinionConstraintSettings, Ragdoll, RagdollSettings, RotatedTranslatedShape, RotatedTranslatedShapeSettings, ScaledShape, ScaledShapeSettings, Shape, ShapeSettings, SixDofConstraint, SixDofConstraintSettings, SkeletalAnimation, Skeleton, SkeletonMapper, SliderConstraint, SliderConstraintSettings, SoftBodyShape, SoftBodySharedSettings, SphereShape, SphereShapeSettings, StaticCompoundShape, StaticCompoundShapeSettings, SwingTwistConstraint, SwingTwistConstraintSettings, TaperedCapsuleShape, TaperedCapsuleShapeSettings, TaperedCylinderShape, TaperedCylinderShapeSettings, TrackedVehicleControllerSettings, TriangleShape, TriangleShapeSettings, TwoBodyConstraint, TwoBodyConstraintSettings, VehicleCollisionTester, VehicleCollisionTesterCastCylinder, VehicleCollisionTesterCastSphere, VehicleCollisionTesterRay, VehicleConstraint, VehicleConstraintSettings, VehicleControllerSettings, WheeledVehicleControllerSettings, WheelSettings, WheelSettingsTv, WheelSettingsWv

public interface RefTarget
Classes that implement this interface maintain a count of active references to each instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Count the active references to the target.
    void
    Mark the target as embedded.
    Create a counted reference to the target.
  • Method Details

    • getRefCount

      int getRefCount()
      Count the active references to the target.
      Returns:
      the count (≥0)
    • setEmbedded

      void setEmbedded()
      Mark the target as embedded.
    • toRef

      Ref toRef()
      Create a counted reference to the target.
      Returns:
      a new JVM object with a new native object assigned