|
Blender V5.0
|
Public Member Functions | |
| uint | GetNumFaces () |
| uint | GetNumVerticesOfFace (const uint face_num) |
| mikk::float3 | GetPosition (const uint face_num, const uint vert_num) |
| mikk::float3 | GetTexCoord (const uint face_num, const uint vert_num) |
| mikk::float3 | GetNormal (const uint face_num, const uint vert_num) |
| void | SetTangentSpace (const uint face_num, const uint vert_num, mikk::float3 T, bool orientation) |
| bool | has_uv () const |
Public Attributes | |
| Span< float3 > | positions |
| OffsetIndices< int > | faces |
| Span< int > | corner_verts |
| Span< float3 > | corner_normals |
| Span< float2 > | uv_map |
| MutableSpan< float4 > | tangents |
Definition at line 30 of file mesh_tangent.cc.
|
inline |
Definition at line 60 of file mesh_tangent.cc.
|
inline |
Definition at line 38 of file mesh_tangent.cc.
References blender::offset_indices::OffsetIndices< T >::size().
Definition at line 43 of file mesh_tangent.cc.
References size().
|
inline |
Definition at line 48 of file mesh_tangent.cc.
|
inline |
Definition at line 54 of file mesh_tangent.cc.
|
inline |
Definition at line 71 of file mesh_tangent.cc.
|
inline |
Definition at line 65 of file mesh_tangent.cc.
References copy_v4_fl4(), and T.
Definition at line 34 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().
| Span<int> blender::bke::mesh::MeshToTangentQuadsTris::corner_verts |
Definition at line 33 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().
| OffsetIndices<int> blender::bke::mesh::MeshToTangentQuadsTris::faces |
Definition at line 32 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().
Definition at line 31 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().
| MutableSpan<float4> blender::bke::mesh::MeshToTangentQuadsTris::tangents |
Definition at line 36 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().
Definition at line 35 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_uv_tangent_tris_quads().