Type Alias rust_raylib::math::Vector4
source · pub type Vector4 = Vector4<f32>;Expand description
Vector4, 4x f32 components
Aliased Type§
struct Vector4 {
pub x: f32,
pub y: f32,
pub z: f32,
pub w: f32,
}Fields§
§x: f32§y: f32§z: f32§w: f32Trait Implementations§
source§impl ShaderValue for Vector4
impl ShaderValue for Vector4
source§const UNIFORM_TYPE: ShaderUniformDataType = ShaderUniformDataType::Vec4
const UNIFORM_TYPE: ShaderUniformDataType = ShaderUniformDataType::Vec4
Uniform type assiciated with the value