public class RenderableShapeBuilder extends BaseShapeBuilder
matTmp1, tmpColor0, tmpColor1, tmpColor2, tmpColor3, tmpColor4, tmpV0, tmpV1, tmpV2, tmpV3, tmpV4, tmpV5, tmpV6, tmpV7, vertTmp0, vertTmp1, vertTmp2, vertTmp3, vertTmp4, vertTmp5, vertTmp6, vertTmp7, vertTmp8
Constructor and Description |
---|
RenderableShapeBuilder() |
Modifier and Type | Method and Description |
---|---|
static void |
buildNormals(MeshPartBuilder builder,
Renderable renderable,
float vectorSize,
Color normalColor,
Color tangentColor,
Color binormalColor)
Builds normal, tangent and binormal of a Renderable.
|
static void |
buildNormals(MeshPartBuilder builder,
RenderableProvider renderableProvider,
float vectorSize)
Builds normal, tangent and binormal of a RenderableProvider with default colors (normal blue, tangent red, binormal green).
|
static void |
buildNormals(MeshPartBuilder builder,
RenderableProvider renderableProvider,
float vectorSize,
Color normalColor,
Color tangentColor,
Color binormalColor)
Builds normal, tangent and binormal of a RenderableProvider.
|
freeAll, obtainM4, obtainV3
public static void buildNormals(MeshPartBuilder builder, RenderableProvider renderableProvider, float vectorSize)
builder
- renderableProvider
- vectorSize
- Size of the normal vectorpublic static void buildNormals(MeshPartBuilder builder, RenderableProvider renderableProvider, float vectorSize, Color normalColor, Color tangentColor, Color binormalColor)
builder
- renderableProvider
- vectorSize
- Size of the normal vectornormalColor
- Normal vector's colortangentColor
- Tangent vector's colorbinormalColor
- Binormal vector's colorpublic static void buildNormals(MeshPartBuilder builder, Renderable renderable, float vectorSize, Color normalColor, Color tangentColor, Color binormalColor)
builder
- renderable
- vectorSize
- Size of the normal vectornormalColor
- Normal vector's colortangentColor
- Tangent vector's colorbinormalColor
- Binormal vector's color