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 TypeMethodDescriptionfloatoptional float density = 4;optional .box2d.PbFilter filter = 10;optional .box2d.PbFilter filter = 10;floatoptional float friction = 3;floatoptional float restitution = 2;booleanoptional bool sensor = 5;getShape()optional .box2d.PbShape shape = 11;optional .box2d.PbShape shape = 11;longgetTag()optional int64 tag = 1;booleanoptional float density = 4;booleanoptional .box2d.PbFilter filter = 10;booleanoptional float friction = 3;booleanoptional float restitution = 2;booleanoptional bool sensor = 5;booleanhasShape()optional .box2d.PbShape shape = 11;booleanhasTag()optional int64 tag = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
-
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
-
getShapeOrBuilder
Box2D.PbShapeOrBuilder getShapeOrBuilder()optional .box2d.PbShape shape = 11;
-