build_tangent_binormal method

build_tangent_binormal

This will create tangent and binormal on all meshes of the scene Normal is required, if normal is not existing on the mesh, it will also create the normal data from position. UV is also required, the mesh will be ignored if no UV is defined.

def build_tangent_binormal(self, scene):
    ...
ParameterTypeDescription
sceneScene

build_tangent_binormal

This will create tangent and binormal on the mesh Normal is required, if normal is not existing on the mesh, it will also create the normal data from position. UV is also required, an exception will be raised if no UV found.

def build_tangent_binormal(self, mesh):
    ...
ParameterTypeDescription
meshMesh

See Also