#include <P2Line.hpp>
Inherits s3d::P2Shape.
◆ P2Line()
SIV3D_NODISCARD_CXX20 s3d::P2Line::P2Line |
( |
b2Body & |
body, |
|
|
const Line & |
localPos, |
|
|
OneSided |
oneSided, |
|
|
const P2Material & |
material, |
|
|
const P2Filter & |
filter |
|
) |
| |
◆ draw()
const P2Shape& s3d::P2Line::draw |
( |
const ColorF & |
color = Palette::White | ) |
const |
|
overridevirtual |
◆ drawFrame()
const P2Shape& s3d::P2Line::drawFrame |
( |
double |
thickness, |
|
|
const ColorF & |
color = Palette::White |
|
) |
| const |
|
overridevirtual |
◆ drawWireframe()
const P2Shape& s3d::P2Line::drawWireframe |
( |
double |
thickness, |
|
|
const ColorF & |
color = Palette::White |
|
) |
| const |
|
overridevirtual |
◆ getLine()
Line s3d::P2Line::getLine |
( |
| ) |
const |
◆ getShapeType()
◆ isOneSided()
bool s3d::P2Line::isOneSided |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following file:
- OpenSiv3D/Siv3D/include/Siv3D/Physics2D/P2Line.hpp