Interface Box2D.PbFixtureOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Box2D.PbFixture, Box2D.PbFixture.Builder
    Enclosing class:
    Box2D

    public static interface Box2D.PbFixtureOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTag

        boolean hasTag()
        optional int64 tag = 1;
        Returns:
        Whether the tag field is set.
      • getTag

        long getTag()
        optional int64 tag = 1;
        Returns:
        The tag.
      • hasRestitution

        boolean hasRestitution()
        optional float restitution = 2;
        Returns:
        Whether the restitution field is set.
      • getRestitution

        float getRestitution()
        optional float restitution = 2;
        Returns:
        The restitution.
      • hasFriction

        boolean hasFriction()
        optional float friction = 3;
        Returns:
        Whether the friction field is set.
      • getFriction

        float getFriction()
        optional float friction = 3;
        Returns:
        The friction.
      • hasDensity

        boolean hasDensity()
        optional float density = 4;
        Returns:
        Whether the density field is set.
      • getDensity

        float getDensity()
        optional float density = 4;
        Returns:
        The density.
      • hasSensor

        boolean hasSensor()
        optional bool sensor = 5;
        Returns:
        Whether the sensor field is set.
      • getSensor

        boolean getSensor()
        optional bool sensor = 5;
        Returns:
        The sensor.
      • hasFilter

        boolean hasFilter()
        optional .box2d.PbFilter filter = 10;
        Returns:
        Whether the filter field is set.
      • getFilter

        Box2D.PbFilter getFilter()
        optional .box2d.PbFilter filter = 10;
        Returns:
        The filter.
      • hasShape

        boolean hasShape()
        optional .box2d.PbShape shape = 11;
        Returns:
        Whether the shape field is set.
      • getShape

        Box2D.PbShape getShape()
        optional .box2d.PbShape shape = 11;
        Returns:
        The shape.