public class RenderableShapeBuilder extends BaseShapeBuilder
| 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.
|
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 colorCopyright © 2021. All rights reserved.