Package | Description |
---|---|
org.bytedeco.liquidfun |
Modifier and Type | Method and Description |
---|---|
b2MassData |
b2MassData.center(b2Vec2 setter) |
b2MassData |
b2MassData.center(b2Vec2 setter) |
b2MassData |
b2MassData.getPointer(long i) |
b2MassData |
b2MassData.getPointer(long i) |
b2MassData |
b2MassData.I(float setter) |
b2MassData |
b2MassData.I(float setter) |
b2MassData |
b2MassData.mass(float setter) |
b2MassData |
b2MassData.mass(float setter) |
b2MassData |
b2MassData.position(long position) |
b2MassData |
b2MassData.position(long position) |
Modifier and Type | Method and Description |
---|---|
void |
b2ChainShape.ComputeMass(b2MassData massData,
float density)
Chains have zero mass.
|
void |
b2CircleShape.ComputeMass(b2MassData massData,
float density) |
void |
b2EdgeShape.ComputeMass(b2MassData massData,
float density) |
void |
b2PolygonShape.ComputeMass(b2MassData massData,
float density) |
void |
b2Shape.ComputeMass(b2MassData massData,
float density)
Compute the mass properties of this shape using its dimensions and density.
|
void |
b2Shape.ComputeMass(b2MassData massData,
float density)
Compute the mass properties of this shape using its dimensions and density.
|
void |
b2PolygonShape.ComputeMass(b2MassData massData,
float density) |
void |
b2EdgeShape.ComputeMass(b2MassData massData,
float density) |
void |
b2CircleShape.ComputeMass(b2MassData massData,
float density) |
void |
b2ChainShape.ComputeMass(b2MassData massData,
float density)
Chains have zero mass.
|
void |
b2Body.GetMassData(b2MassData data)
Get the mass data of the body.
|
void |
b2Fixture.GetMassData(b2MassData massData)
Get the mass data for this fixture.
|
void |
b2Fixture.GetMassData(b2MassData massData)
Get the mass data for this fixture.
|
void |
b2Body.GetMassData(b2MassData data)
Get the mass data of the body.
|
void |
b2Body.SetMassData(b2MassData data)
Set the mass properties to override the mass properties of the fixtures.
|
void |
b2Body.SetMassData(b2MassData data)
Set the mass properties to override the mass properties of the fixtures.
|
Copyright © 2022. All rights reserved.