Public Member Functions | Public Attributes | List of all members
FRuntimeMeshTangent Struct Reference

#include <RuntimeMeshCore.h>

Public Member Functions

 FRuntimeMeshTangent ()
 
 FRuntimeMeshTangent (float X, float Y, float Z, bool bInFlipTangentY=false)
 
 FRuntimeMeshTangent (FVector InTangentX, bool bInFlipTangentY=false)
 
void ModifyNormal (FVector4 &Normal) const
 
void ModifyNormal (FPackedNormal &Normal) const
 
void ModifyNormal (FPackedRGBA16N &Normal) const
 

Public Attributes

bool bFlipTangentY
 
FVector TangentX
 

Detailed Description

Struct used to specify a tangent vector for a vertex The Y tangent is computed from the cross product of the vertex normal (Tangent Z) and the TangentX member.

Definition at line 178 of file RuntimeMeshCore.h.

Constructor & Destructor Documentation

FRuntimeMeshTangent::FRuntimeMeshTangent ( )
inline

Definition at line 190 of file RuntimeMeshCore.h.

FRuntimeMeshTangent::FRuntimeMeshTangent ( float  X,
float  Y,
float  Z,
bool  bInFlipTangentY = false 
)
inline

Definition at line 195 of file RuntimeMeshCore.h.

FRuntimeMeshTangent::FRuntimeMeshTangent ( FVector  InTangentX,
bool  bInFlipTangentY = false 
)
inline

Definition at line 200 of file RuntimeMeshCore.h.

Member Function Documentation

void FRuntimeMeshTangent::ModifyNormal ( FVector4 &  Normal) const
inline

Definition at line 205 of file RuntimeMeshCore.h.

void FRuntimeMeshTangent::ModifyNormal ( FPackedNormal &  Normal) const
inline

Definition at line 206 of file RuntimeMeshCore.h.

void FRuntimeMeshTangent::ModifyNormal ( FPackedRGBA16N &  Normal) const
inline

Definition at line 207 of file RuntimeMeshCore.h.

Member Data Documentation

bool FRuntimeMeshTangent::bFlipTangentY

Bool that indicates whether we should flip the Y tangent when we compute it using cross product

Definition at line 188 of file RuntimeMeshCore.h.

FVector FRuntimeMeshTangent::TangentX

Direction of X tangent for this vertex

Definition at line 184 of file RuntimeMeshCore.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32