Add more documentation for LinearColor

This commit is contained in:
Joshua Goins 2025-03-02 17:37:39 -05:00
parent 6deddba56f
commit bf3a1f9266

View file

@ -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,
} }