|
coastline 0.0.4
|
The shadow of a car on the track, as RenderTrackInstance() lays its texture on the ground under the car: 1024 across the texture, centred under the car, along and across its heading. More...
#include <scenerenderer.h>

Public Attributes | |
| const RenderTexture * | texture = nullptr |
| float | x = 0.0f |
| float | y = 0.0f |
| float | along = 0.0f |
| float | across = 0.0f |
| std::array< float, 2 > | forward {1.0f, 0.0f} |
| std::array< float, 4 > | color {} |
| std::vector< int > | instances |
The shadow of a car on the track, as RenderTrackInstance() lays its texture on the ground under the car: 1024 across the texture, centred under the car, along and across its heading.
| const RenderTexture* coastline::CarShadow::texture = nullptr |
The texture of the shadow, its alpha the shade.
| float coastline::CarShadow::x = 0.0f |
The place of the car across the world.
| float coastline::CarShadow::y = 0.0f |
The place of the car along the world.
| float coastline::CarShadow::along = 0.0f |
The units of the texture for each unit along the car.
| float coastline::CarShadow::across = 0.0f |
The units of the texture for each unit across the car.
| std::array<float, 2> coastline::CarShadow::forward {1.0f, 0.0f} |
The heading of the car on the ground.
| std::array<float, 4> coastline::CarShadow::color {} |
The colour the shade blends towards.
| std::vector<int> coastline::CarShadow::instances |
The instances of the track the shadow falls on.