Package org.box2d.proto
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetDensity()optional float density = 4;Box2D.PbFiltergetFilter()optional .box2d.PbFilter filter = 10;Box2D.PbFilterOrBuildergetFilterOrBuilder()optional .box2d.PbFilter filter = 10;floatgetFriction()optional float friction = 3;floatgetRestitution()optional float restitution = 2;booleangetSensor()optional bool sensor = 5;Box2D.PbShapegetShape()optional .box2d.PbShape shape = 11;Box2D.PbShapeOrBuildergetShapeOrBuilder()optional .box2d.PbShape shape = 11;longgetTag()optional int64 tag = 1;booleanhasDensity()optional float density = 4;booleanhasFilter()optional .box2d.PbFilter filter = 10;booleanhasFriction()optional float friction = 3;booleanhasRestitution()optional float restitution = 2;booleanhasSensor()optional bool sensor = 5;booleanhasShape()optional .box2d.PbShape shape = 11;booleanhasTag()optional int64 tag = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
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;
-
-