Skip to content

raisin::Material::UvTransform ​

struct · #include <rayrai/Material.hpp>

Per-texture UV transform (glTF KHR_texture_transform style).

Public attributes ​

scaleOffset ​

cpp
glm::vec4 scaleOffset

scale.xy, offset.zw.

rotation ​

cpp
float rotation

Rotation in radians.

authored ​

cpp
bool authored

Only authored transforms are used; others fall back to uvScaleOffset / uvRotation.

RaiSim — physics for robotics and AI.