Blender V5.3
blender::eevee::Transform Struct Reference

#include <eevee_transform.hh>

Public Member Functions

 Transform ()=default
 Transform (const float4x4 &tx)
 operator float4x4 () const
float3 x_axis () const
float3 y_axis () const
float3 z_axis () const
float3 location () const

Public Attributes

float4 x
float4 y
float4 z

Detailed Description

The Transform class is used to store object transforms in a compact manner (row major).

Definition at line 20 of file eevee_transform.hh.

Constructor & Destructor Documentation

◆ Transform() [1/2]

blender::eevee::Transform::Transform ( )
default

◆ Transform() [2/2]

blender::eevee::Transform::Transform ( const float4x4 & tx)
inline

Definition at line 28 of file eevee_transform.hh.

References x, y, and z.

Member Function Documentation

◆ location()

float3 blender::eevee::Transform::location ( ) const
inline

Definition at line 56 of file eevee_transform.hh.

References x, y, and z.

Referenced by blender::eevee::Light::debug_draw(), and blender::eevee::transform_point_inversed().

◆ operator float4x4()

blender::eevee::Transform::operator float4x4 ( ) const
inline

Definition at line 35 of file eevee_transform.hh.

References x, y, and z.

◆ x_axis()

float3 blender::eevee::Transform::x_axis ( ) const
inline

Definition at line 44 of file eevee_transform.hh.

References x, y, and z.

◆ y_axis()

float3 blender::eevee::Transform::y_axis ( ) const
inline

Definition at line 48 of file eevee_transform.hh.

References x, y, and z.

◆ z_axis()

float3 blender::eevee::Transform::z_axis ( ) const
inline

Definition at line 52 of file eevee_transform.hh.

References x, y, and z.

Member Data Documentation

◆ x

◆ y

◆ z


The documentation for this struct was generated from the following file: