Add more documentation for LinearColor
This commit is contained in:
parent
6deddba56f
commit
bf3a1f9266
1 changed files with 7 additions and 0 deletions
|
@ -2,12 +2,19 @@ use binrw::binrw;
|
||||||
|
|
||||||
use crate::property::PropertyBase;
|
use crate::property::PropertyBase;
|
||||||
|
|
||||||
|
/// A linear, 32-bit/component floating point RGBA color.
|
||||||
|
///
|
||||||
|
/// See [the Unreal Engine documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/Core/Math/FLinearColor?application_version=4.27).
|
||||||
#[binrw]
|
#[binrw]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct LinearColorStruct {
|
pub struct LinearColorStruct {
|
||||||
|
/// Red component.
|
||||||
pub r: f32,
|
pub r: f32,
|
||||||
|
/// Green component.
|
||||||
pub g: f32,
|
pub g: f32,
|
||||||
|
/// Blue component.
|
||||||
pub b: f32,
|
pub b: f32,
|
||||||
|
/// Alpha component.
|
||||||
pub a: f32,
|
pub a: f32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue