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 Summary

    Modifier and Type
    Method
    Description
    float
    optional float density = 4;
    optional .box2d.PbFilter filter = 10;
    optional .box2d.PbFilter filter = 10;
    float
    optional float friction = 3;
    float
    optional float restitution = 2;
    boolean
    optional bool sensor = 5;
    optional .box2d.PbShape shape = 11;
    optional .box2d.PbShape shape = 11;
    long
    optional int64 tag = 1;
    boolean
    optional float density = 4;
    boolean
    optional .box2d.PbFilter filter = 10;
    boolean
    optional float friction = 3;
    boolean
    optional float restitution = 2;
    boolean
    optional bool sensor = 5;
    boolean
    optional .box2d.PbShape shape = 11;
    boolean
    optional int64 tag = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
    • getFilterOrBuilder

      Box2D.PbFilterOrBuilder getFilterOrBuilder()
      optional .box2d.PbFilter filter = 10;
    • 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.
    • getShapeOrBuilder

      Box2D.PbShapeOrBuilder getShapeOrBuilder()
      optional .box2d.PbShape shape = 11;