Blender V5.3
blender::io::usd::USDMeshReadData Struct Reference

#include <usd_reader_mesh.hh>

Public Member Functions

 USDMeshReadData (const pxr::UsdGeomMesh &mesh_prim, pxr::UsdTimeCode time)
Span< int > face_indices () const
Span< int > face_counts () const
Span< float3 > positions () const
Span< float3 > normals () const
MutableSpan< float3 > normals_for_write ()

Public Attributes

pxr::TfToken normal_interpolation
pxr::TfToken orientation

Detailed Description

Definition at line 20 of file usd_reader_mesh.hh.

Constructor & Destructor Documentation

◆ USDMeshReadData()

blender::io::usd::USDMeshReadData::USDMeshReadData ( const pxr::UsdGeomMesh & mesh_prim,
pxr::UsdTimeCode time )

Member Function Documentation

◆ face_counts()

Span< int > blender::io::usd::USDMeshReadData::face_counts ( ) const
inline

Definition at line 34 of file usd_reader_mesh.hh.

References blender::Span< T >::Span().

◆ face_indices()

Span< int > blender::io::usd::USDMeshReadData::face_indices ( ) const
inline

Definition at line 30 of file usd_reader_mesh.hh.

References blender::Span< T >::Span().

◆ normals()

Span< float3 > blender::io::usd::USDMeshReadData::normals ( ) const
inline

Definition at line 42 of file usd_reader_mesh.hh.

References blender::Span< T >::Span().

◆ normals_for_write()

MutableSpan< float3 > blender::io::usd::USDMeshReadData::normals_for_write ( )
inline

Definition at line 46 of file usd_reader_mesh.hh.

References blender::MutableSpan< T >::MutableSpan().

◆ positions()

Span< float3 > blender::io::usd::USDMeshReadData::positions ( ) const
inline

Definition at line 38 of file usd_reader_mesh.hh.

References blender::Span< T >::Span().

Member Data Documentation

◆ normal_interpolation

pxr::TfToken blender::io::usd::USDMeshReadData::normal_interpolation

Definition at line 51 of file usd_reader_mesh.hh.

Referenced by USDMeshReadData().

◆ orientation

pxr::TfToken blender::io::usd::USDMeshReadData::orientation

Definition at line 52 of file usd_reader_mesh.hh.

Referenced by USDMeshReadData().


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