Classes | Macros | Enumerations | Functions
RuntimeMeshGenericVertex.h File Reference
#include "RuntimeMeshCore.h"
#include "Containers/StaticArray.h"
Include dependency graph for RuntimeMeshGenericVertex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FRuntimeMeshVertexUtilities::ColorComponent< RuntimeVertexType, WantsColor >
 
struct  FRuntimeMeshVertexUtilities::ColorComponent< RuntimeVertexType, false >
 
struct  FRuntimeMeshDualUV
 
struct  FRuntimeMeshDualUVHighPrecision
 
struct  FRuntimeMeshTangents
 
struct  FRuntimeMeshTangentsHighPrecision
 
struct  FRuntimeMeshVertexTangentTypeSelector< TangentBasisType >
 
struct  FRuntimeMeshVertexTangentTypeSelector< ERuntimeMeshVertexTangentBasisType::Default >
 
struct  FRuntimeMeshVertexTangentTypeSelector< ERuntimeMeshVertexTangentBasisType::HighPrecision >
 
struct  FRuntimeMeshVertexUtilities
 
struct  FRuntimeMeshVertexUVsTypeSelector< UVType >
 
struct  FRuntimeMeshVertexUVsTypeSelector< ERuntimeMeshVertexUVType::Default >
 
struct  FRuntimeMeshVertexUVsTypeSelector< ERuntimeMeshVertexUVType::HighPrecision >
 
struct  FRuntimeMeshVertexUtilities::NormalTangentComponent< RuntimeVertexType, WantsNormal, WantsTangent, NormalTangentType >
 
struct  FRuntimeMeshVertexUtilities::NormalTangentComponent< RuntimeVertexType, false, false, NormalTangentType >
 
struct  FRuntimeMeshVertexUtilities::NormalTangentComponent< RuntimeVertexType, false, true, NormalTangentType >
 
struct  FRuntimeMeshVertexUtilities::NormalTangentComponent< RuntimeVertexType, true, false, NormalTangentType >
 
struct  FRuntimeMeshVertexUtilities::PositionComponent< RuntimeVertexType, WantsPosition >
 
struct  FRuntimeMeshVertexUtilities::PositionComponent< RuntimeVertexType, false >
 
struct  RuntimeMeshNormalUtil
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, NumWantedUVChannels, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 1, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 2, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 3, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 4, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 5, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 6, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 7, UVType >
 
struct  FRuntimeMeshVertexUtilities::TextureChannels< RuntimeVertexType, 8, UVType >
 

Macros

#define __DECLARE_RUNTIME_MESH_VERTEXINTERNAL(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, APIQUALIFIER)
 
#define DECLARE_RUNTIME_MESH_VERTEX(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)   __DECLARE_RUNTIME_MESH_VERTEXINTERNAL(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, )
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)   RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_##Condition(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, IfTrue)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_false(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, IfTrue)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_true(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, IfTrue)   IfTrue
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_COLOR(HasColor)   RUNTIMEMESH_VERTEX_DECLARE_COLOR_##HasColor
 
#define RUNTIMEMESH_VERTEX_DECLARE_COLOR_false
 
#define RUNTIMEMESH_VERTEX_DECLARE_COLOR_true   FColor Color;
 
#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL(HasNormal, TangentType)   RUNTIMEMESH_VERTEX_DECLARE_NORMAL_##HasNormal(TangentType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL_false(TangentType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL_true(TangentType)   FRuntimeMeshVertexTangentTypeSelector<TangentType>::TangentsType Normal;
 
#define RUNTIMEMESH_VERTEX_DECLARE_POSITION(HasPosition)   RUNTIMEMESH_VERTEX_DECLARE_POSITION_##HasPosition
 
#define RUNTIMEMESH_VERTEX_DECLARE_POSITION_false
 
#define RUNTIMEMESH_VERTEX_DECLARE_POSITION_true   FVector Position;
 
#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT(HasTangent, TangentType)   RUNTIMEMESH_VERTEX_DECLARE_TANGENT_##HasTangent(TangentType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT_false(TangentType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT_true(TangentType)   FRuntimeMeshVertexTangentTypeSelector<TangentType>::TangentsType Tangent;
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_0(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_1(UVType)   FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV0;
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_2(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_3(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_4(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_5(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_6(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_7(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_8(UVType)
 
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNELS(NumChannels, UVType)   RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_##NumChannels(UVType)
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR(HasColor)   RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_##HasColor
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_false
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_true   Color = FColor::White;
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL(HasNormal)   RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_##HasNormal
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_false
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_true   Normal = FVector4(0.0f, 0.0f, 1.0f, 1.0f);
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION(HasPosition)   RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_##HasPosition
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_false
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_true   Position = FVector(0.0f, 0.0f, 0.0f);
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT(HasTangent)   RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_##HasTangent
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_false
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_true   Tangent = FVector(1.0f, 0.0f, 0.0f);
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_0
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_1   UV0 = FVector2D(0.0f, 0.0f);
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_2
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_3
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_4
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_5
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_6
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_7
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_8
 
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNELS(NumChannels)   RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_##NumChannels
 
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)   RUNTIMEMESH_VERTEX_INIT_POSITION_##NeedsPosition
 
#define RUNTIMEMESH_VERTEX_INIT_POSITION_false
 
#define RUNTIMEMESH_VERTEX_INIT_POSITION_true   Position = InPosition;
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_0
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_1   UV0 = InUV0;
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_2
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_3
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_4
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_5
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_6
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_7
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_8
 
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)   RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_##NumChannels
 
#define RUNTIMEMESH_VERTEX_NORMALTANGENT_SET(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_NORMALTANGENT_SET_MPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
 
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)   RUNTIMEMESH_VERTEX_PARAMETER_POSITION_##NeedsPosition
 
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION_false
 
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION_true   const FVector& InPosition,
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_0
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_1   , const FVector2D& InUV0 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_2   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_1 , const FVector2D& InUV1 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_3   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_2 , const FVector2D& InUV2 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_4   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_3 , const FVector2D& InUV3 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_5   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_4 , const FVector2D& InUV4 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_6   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_5 , const FVector2D& InUV5 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_7   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_6 , const FVector2D& InUV6 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_8   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_7 , const FVector2D& InUV7 = FVector2D::ZeroVector
 
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_##NumChannels
 

Enumerations

enum  ERuntimeMeshVertexTangentBasisType { ERuntimeMeshVertexTangentBasisType::Default = 1, ERuntimeMeshVertexTangentBasisType::HighPrecision = 2 }
 
enum  ERuntimeMeshVertexUVType { ERuntimeMeshVertexUVType::Default = 1, ERuntimeMeshVertexUVType::HighPrecision = 2 }
 

Functions

template<typename VertexType >
bool GetTangentIsHighPrecision ()
 
template<>
bool GetTangentIsHighPrecision< FRuntimeMeshTangents > ()
 
template<>
bool GetTangentIsHighPrecision< FRuntimeMeshTangentsHighPrecision > ()
 
template<typename VertexType >
void GetUVVertexProperties (bool &bIsUsingHighPrecision, int32 &NumUVs)
 
template<>
void GetUVVertexProperties< FRuntimeMeshDualUV > (bool &bIsUsingHighPrecision, int32 &NumUVs)
 
template<>
void GetUVVertexProperties< FRuntimeMeshDualUVHighPrecision > (bool &bIsUsingHighPrecision, int32 &NumUVs)
 
template<>
void GetUVVertexProperties< FVector2D > (bool &bIsUsingHighPrecision, int32 &NumUVs)
 
template<>
void GetUVVertexProperties< FVector2DHalf > (bool &bIsUsingHighPrecision, int32 &NumUVs)
 

Macro Definition Documentation

#define __DECLARE_RUNTIME_MESH_VERTEXINTERNAL (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType,
  APIQUALIFIER 
)

Definition at line 644 of file RuntimeMeshGenericVertex.h.

#define DECLARE_RUNTIME_MESH_VERTEX (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)    __DECLARE_RUNTIME_MESH_VERTEXINTERNAL(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, )

Definition at line 696 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType,
  Condition,
  IfTrue 
)    RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_##Condition(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, IfTrue)

Definition at line 476 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_false (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType,
  IfTrue 
)

Definition at line 478 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF_true (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType,
  IfTrue 
)    IfTrue

Definition at line 479 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsPosition, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)

Definition at line 494 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsColor, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)

Definition at line 528 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_COLOR_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FColor& InColor RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(UVChannelCount)) \
{ \
Color = InColor; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT(HasTangent)
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL(HasNormal)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 517 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(const FVector& InPosition) \
{ \
}
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR(HasColor)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT(HasTangent)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL(HasNormal)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 483 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)

Definition at line 511 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FVector& InNormal) \
{ \
Normal = InNormal; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR(HasColor)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT(HasTangent)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 500 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsTangent, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)

Definition at line 546 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsTangent, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsColor, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
) \
) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)

Definition at line 586 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_COLOR_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FVector& InNormal, const FRuntimeMeshTangent& InTangent, const FColor& InColor RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(UVChannelCount)) \
{ \
Normal = FVector4(InNormal, InTangent.bFlipTangentY? -1 : 1); \
Tangent = InTangent.TangentX; \
Color = InColor; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 575 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_NORMAL_TANGENT_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FVector& InNormal, const FRuntimeMeshTangent& InTangent RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(UVChannelCount)) \
{ \
Normal = FVector4(InNormal, InTangent.bFlipTangentY? -1 : 1); \
Tangent = InTangent.TangentX; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR(HasColor)
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 535 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsTangent, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)

Definition at line 566 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsTangent, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsColor, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
) \
) \
)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR_IMPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)

Definition at line 608 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_COLOR_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FVector& InTangentX, const FVector& InTangentY, const FVector& InTangentZ, const FColor& InColor RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(UVChannelCount)) \
{ \
Normal = FVector4(InTangentZ, GetBasisDeterminantSign(InTangentX, InTangentY, InTangentZ)); \
Tangent = InTangentX; \
Color = InColor; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 597 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_POSITION_TANGENTX_TANGENTY_TANGENTZ_IMPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
VertexName(RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition) const FVector& InTangentX, const FVector& InTangentY, const FVector& InTangentZ RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(UVChannelCount)) \
{ \
Normal = FVector4(InTangentZ, GetBasisDeterminantSign(InTangentX, InTangentY, InTangentZ)); \
Tangent = InTangentX; \
}
#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION(NeedsPosition)
#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR(HasColor)
#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS(NumChannels)
#define RUNTIMEMESH_VERTEX_INIT_POSITION(NeedsPosition)

Definition at line 555 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_COLOR (   HasColor)    RUNTIMEMESH_VERTEX_DECLARE_COLOR_##HasColor

Definition at line 309 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_COLOR_false

Definition at line 308 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_COLOR_true   FColor Color;

Definition at line 307 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL (   HasNormal,
  TangentType 
)    RUNTIMEMESH_VERTEX_DECLARE_NORMAL_##HasNormal(TangentType)

Definition at line 299 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL_false (   TangentType)

Definition at line 298 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_NORMAL_true (   TangentType)    FRuntimeMeshVertexTangentTypeSelector<TangentType>::TangentsType Normal;

Definition at line 297 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_POSITION (   HasPosition)    RUNTIMEMESH_VERTEX_DECLARE_POSITION_##HasPosition

Definition at line 294 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_POSITION_false

Definition at line 293 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_POSITION_true   FVector Position;

Definition at line 292 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT (   HasTangent,
  TangentType 
)    RUNTIMEMESH_VERTEX_DECLARE_TANGENT_##HasTangent(TangentType)

Definition at line 304 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT_false (   TangentType)

Definition at line 303 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_TANGENT_true (   TangentType)    FRuntimeMeshVertexTangentTypeSelector<TangentType>::TangentsType Tangent;

Definition at line 302 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_0 (   UVType)

Definition at line 312 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_1 (   UVType)    FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV0;

Definition at line 314 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_2 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV1;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_1(UVType)

Definition at line 317 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_3 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV2;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_2(UVType)

Definition at line 321 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_4 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV3;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_3(UVType)

Definition at line 325 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_5 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV4;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_4(UVType)

Definition at line 329 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_6 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV5;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_5(UVType)

Definition at line 333 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_7 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV6;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_6(UVType)

Definition at line 337 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_8 (   UVType)
Value:
FRuntimeMeshVertexUVsTypeSelector<UVType>::UVsType UV7;
#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_7(UVType)

Definition at line 341 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNELS (   NumChannels,
  UVType 
)    RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_##NumChannels(UVType)

Definition at line 345 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR (   HasColor)    RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_##HasColor

Definition at line 368 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_false

Definition at line 367 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_COLOR_true   Color = FColor::White;

Definition at line 366 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL (   HasNormal)    RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_##HasNormal

Definition at line 360 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_false

Definition at line 359 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_NORMAL_true   Normal = FVector4(0.0f, 0.0f, 1.0f, 1.0f);

Definition at line 358 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION (   HasPosition)    RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_##HasPosition

Definition at line 356 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_false

Definition at line 355 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_POSITION_true   Position = FVector(0.0f, 0.0f, 0.0f);

Definition at line 354 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT (   HasTangent)    RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_##HasTangent

Definition at line 364 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_false

Definition at line 363 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_TANGENT_true   Tangent = FVector(1.0f, 0.0f, 0.0f);

Definition at line 362 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_0

Definition at line 370 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_1   UV0 = FVector2D(0.0f, 0.0f);

Definition at line 372 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_2
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_1 \
UV1 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 375 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_3
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_2 \
UV2 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 379 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_4
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_3 \
UV3 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 383 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_5
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_4 \
UV4 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 387 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_6
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_5 \
UV5 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 391 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_7
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_6 \
UV6 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 395 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_8
Value:
RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_7 \
UV7 = FVector2D(0.0f, 0.0f);
GLdouble f

Definition at line 399 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNELS (   NumChannels)    RUNTIMEMESH_VERTEX_DEFAULTINIT_UVCHANNEL_##NumChannels

Definition at line 403 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_POSITION (   NeedsPosition)    RUNTIMEMESH_VERTEX_INIT_POSITION_##NeedsPosition

Definition at line 417 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_POSITION_false

Definition at line 416 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_POSITION_true   Position = InPosition;

Definition at line 415 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_0

Definition at line 433 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_1   UV0 = InUV0;

Definition at line 435 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_2
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_1 \
UV1 = InUV1;

Definition at line 438 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_3
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_2 \
UV2 = InUV2;

Definition at line 442 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_4
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_3 \
UV3 = InUV3;

Definition at line 446 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_5
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_4 \
UV4 = InUV4;

Definition at line 450 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_6
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_5 \
UV5 = InUV5;

Definition at line 454 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_7
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_6 \
UV6 = InUV6;

Definition at line 458 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_8
Value:
RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_7 \
UV7 = InUV7;

Definition at line 462 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_INIT_UVCHANNELS (   NumChannels)    RUNTIMEMESH_VERTEX_INIT_UVCHANNEL_##NumChannels

Definition at line 466 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_NORMALTANGENT_SET (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsNormal, \
RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, NeedsTangent, \
RUNTIMEMESH_VERTEX_NORMALTANGENT_SET_MPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType) \
) \
)
#define RUNTIMEMESH_VERTEX_NORMALTANGENT_SET_MPLEMENTATION(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType)
#define RUNTIMEMESH_VERTEX_CONSTRUCTOR_DEFINITION_IF(VertexName, NeedsPosition, NeedsNormal, NeedsTangent, NeedsColor, UVChannelCount, TangentsType, UVChannelType, Condition, IfTrue)

Definition at line 633 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_NORMALTANGENT_SET_MPLEMENTATION (   VertexName,
  NeedsPosition,
  NeedsNormal,
  NeedsTangent,
  NeedsColor,
  UVChannelCount,
  TangentsType,
  UVChannelType 
)
Value:
void SetTangents(const FVector& TangentX, const FVector& TangentY, const FVector& TangentZ) \
{ \
Normal = FVector4(TangentZ, GetBasisDeterminantSign(TangentX, TangentY, TangentZ)); \
Tangent = TangentX; \
} \
\
void SetTangent(const FRuntimeMeshTangent& InTangent) \
{ \
InTangent.ModifyNormal(Normal); \
Tangent = InTangent.TangentX; \
}
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source

Definition at line 619 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION (   NeedsPosition)    RUNTIMEMESH_VERTEX_PARAMETER_POSITION_##NeedsPosition

Definition at line 413 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION_false

Definition at line 412 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_POSITION_true   const FVector& InPosition,

Definition at line 411 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_0

Definition at line 421 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_1   , const FVector2D& InUV0 = FVector2D::ZeroVector

Definition at line 422 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_2   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_1 , const FVector2D& InUV1 = FVector2D::ZeroVector

Definition at line 423 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_3   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_2 , const FVector2D& InUV2 = FVector2D::ZeroVector

Definition at line 424 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_4   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_3 , const FVector2D& InUV3 = FVector2D::ZeroVector

Definition at line 425 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_5   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_4 , const FVector2D& InUV4 = FVector2D::ZeroVector

Definition at line 426 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_6   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_5 , const FVector2D& InUV5 = FVector2D::ZeroVector

Definition at line 427 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_7   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_6 , const FVector2D& InUV6 = FVector2D::ZeroVector

Definition at line 428 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_8   RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_7 , const FVector2D& InUV7 = FVector2D::ZeroVector

Definition at line 429 of file RuntimeMeshGenericVertex.h.

#define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNELS (   NumChannels)    RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_##NumChannels

Definition at line 430 of file RuntimeMeshGenericVertex.h.

Enumeration Type Documentation

Enumerator
Default 
HighPrecision 

Definition at line 59 of file RuntimeMeshGenericVertex.h.

Enumerator
Default 
HighPrecision 

Definition at line 29 of file RuntimeMeshGenericVertex.h.

Function Documentation

template<typename VertexType >
bool GetTangentIsHighPrecision ( )
inline

Definition at line 780 of file RuntimeMeshGenericVertex.h.

template<>
bool GetTangentIsHighPrecision< FRuntimeMeshTangents > ( )
inline

Definition at line 786 of file RuntimeMeshGenericVertex.h.

Definition at line 792 of file RuntimeMeshGenericVertex.h.

template<typename VertexType >
void GetUVVertexProperties ( bool &  bIsUsingHighPrecision,
int32 &  NumUVs 
)
inline

Definition at line 798 of file RuntimeMeshGenericVertex.h.

template<>
void GetUVVertexProperties< FRuntimeMeshDualUV > ( bool &  bIsUsingHighPrecision,
int32 &  NumUVs 
)
inline

Definition at line 818 of file RuntimeMeshGenericVertex.h.

template<>
void GetUVVertexProperties< FRuntimeMeshDualUVHighPrecision > ( bool &  bIsUsingHighPrecision,
int32 &  NumUVs 
)
inline

Definition at line 825 of file RuntimeMeshGenericVertex.h.

template<>
void GetUVVertexProperties< FVector2D > ( bool &  bIsUsingHighPrecision,
int32 &  NumUVs 
)
inline

Definition at line 811 of file RuntimeMeshGenericVertex.h.

template<>
void GetUVVertexProperties< FVector2DHalf > ( bool &  bIsUsingHighPrecision,
int32 &  NumUVs 
)
inline

Definition at line 804 of file RuntimeMeshGenericVertex.h.



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