#include <P2Rect.hpp>
Inherits s3d::P2Shape.
◆ P2Rect()
SIV3D_NODISCARD_CXX20 s3d::P2Rect::P2Rect |
( |
b2Body & |
body, |
|
|
const RectF & |
rect, |
|
|
const P2Material & |
material, |
|
|
const P2Filter & |
filter |
|
) |
| |
◆ draw() [1/4]
const P2Shape& s3d::P2Rect::draw |
( |
Arg::left_< ColorF > |
leftColor, |
|
|
Arg::right_< ColorF > |
rightColor |
|
) |
| const |
◆ draw() [2/4]
const P2Shape& s3d::P2Rect::draw |
( |
Arg::top_< ColorF > |
topColor, |
|
|
Arg::bottom_< ColorF > |
bottomColor |
|
) |
| const |
◆ draw() [3/4]
const P2Shape& s3d::P2Rect::draw |
( |
const ColorF & |
color = Palette::White | ) |
const |
|
overridevirtual |
◆ draw() [4/4]
const P2Shape& s3d::P2Rect::draw |
( |
const ColorF(&) |
colors[4] | ) |
const |
◆ drawFrame()
const P2Shape& s3d::P2Rect::drawFrame |
( |
double |
thickness, |
|
|
const ColorF & |
color = Palette::White |
|
) |
| const |
|
overridevirtual |
◆ drawWireframe()
const P2Shape& s3d::P2Rect::drawWireframe |
( |
double |
thickness, |
|
|
const ColorF & |
color = Palette::White |
|
) |
| const |
|
overridevirtual |
◆ getQuad()
Quad s3d::P2Rect::getQuad |
( |
| ) |
const |
◆ getShapeType()
The documentation for this class was generated from the following file:
- OpenSiv3D/Siv3D/include/Siv3D/Physics2D/P2Rect.hpp