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 float
getDensity()
optional float density = 4;
Box2D.PbFilter
getFilter()
optional .box2d.PbFilter filter = 10;
Box2D.PbFilterOrBuilder
getFilterOrBuilder()
optional .box2d.PbFilter filter = 10;
float
getFriction()
optional float friction = 3;
float
getRestitution()
optional float restitution = 2;
boolean
getSensor()
optional bool sensor = 5;
Box2D.PbShape
getShape()
optional .box2d.PbShape shape = 11;
Box2D.PbShapeOrBuilder
getShapeOrBuilder()
optional .box2d.PbShape shape = 11;
long
getTag()
optional int64 tag = 1;
boolean
hasDensity()
optional float density = 4;
boolean
hasFilter()
optional .box2d.PbFilter filter = 10;
boolean
hasFriction()
optional float friction = 3;
boolean
hasRestitution()
optional float restitution = 2;
boolean
hasSensor()
optional bool sensor = 5;
boolean
hasShape()
optional .box2d.PbShape shape = 11;
boolean
hasTag()
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;
-
-