载入中...
搜索中...
未找到
eve::graphics::hair::RootAttach结构体 参考

One strand root projected onto a skin triangle (UE binding entry analogue). @ownership Owned by GroomBinding. 更多...

#include <Binding.h>

Public 属性

uint32_t triangleIndex = 0
 
glm::vec3 barycentric {1.f, 0.f, 0.f}
 Barycentric weights (u,v,w) with u+v+w ≈ 1.
 
glm::vec3 restRoot {0.f}
 Strand root position at bind time (rest pose).
 
glm::vec3 restNormal {0.f, 1.f, 0.f}
 Rest triangle geometric normal (unit).
 

详细描述

One strand root projected onto a skin triangle (UE binding entry analogue). @ownership Owned by GroomBinding.

在文件 Binding.h 第 43 行定义.

类成员变量说明

◆ barycentric

glm::vec3 eve::graphics::hair::RootAttach::barycentric {1.f, 0.f, 0.f}

Barycentric weights (u,v,w) with u+v+w ≈ 1.

在文件 Binding.h 第 46 行定义.

被这些函数引用 eve::graphics::hair::GroomBinding::build() , 以及 eve::graphics::hair::GroomBinding::deform().

◆ restNormal

glm::vec3 eve::graphics::hair::RootAttach::restNormal {0.f, 1.f, 0.f}

Rest triangle geometric normal (unit).

在文件 Binding.h 第 50 行定义.

被这些函数引用 eve::graphics::hair::GroomBinding::build() , 以及 eve::graphics::hair::GroomBinding::deform().

◆ restRoot

glm::vec3 eve::graphics::hair::RootAttach::restRoot {0.f}

Strand root position at bind time (rest pose).

在文件 Binding.h 第 48 行定义.

被这些函数引用 eve::graphics::hair::GroomBinding::build() , 以及 eve::graphics::hair::GroomBinding::deform().

◆ triangleIndex

uint32_t eve::graphics::hair::RootAttach::triangleIndex = 0

该结构体的文档由以下文件生成: