-
public class MorphTargetBuffer.Builder
-
-
Constructor Summary
Constructors Constructor Description MorphTargetBuffer.Builder()
-
Method Summary
Modifier and Type Method Description MorphTargetBuffer.BuildervertexCount(@IntRange(from = 1) int vertexCount)Size of the morph targets in vertex counts. MorphTargetBuffer.Buildercount(@IntRange(from = 1) int count)Size of the morph targets in targets. MorphTargetBuffer.BuilderwithPositions(boolean enabled)Use this method to enable or disable the built-in position morphing buffer.Default is true. MorphTargetBuffer.BuilderwithTangents(boolean enabled)Use this method to enable or disable the built-in tangent morphing buffer.Default is true. MorphTargetBuffer.BuilderenableCustomMorphing(boolean enabled)Use this method to enable or disable custom morphing.Default is false. MorphTargetBufferbuild(@NonNull() Engine engine)Creates and returns the MorphTargetBufferobject.-
-
Method Detail
-
vertexCount
@NonNull() MorphTargetBuffer.Builder vertexCount(@IntRange(from = 1) int vertexCount)
Size of the morph targets in vertex counts.
- Parameters:
vertexCount- Number of vertex counts the morph targets can hold.
-
count
@NonNull() MorphTargetBuffer.Builder count(@IntRange(from = 1) int count)
Size of the morph targets in targets.
- Parameters:
count- Number of targets the morph targets can hold.
-
withPositions
@NonNull() MorphTargetBuffer.Builder withPositions(boolean enabled)
Use this method to enable or disable the built-in position morphing buffer.Default is true.
- Parameters:
enabled- true to enable, false to disable
-
withTangents
@NonNull() MorphTargetBuffer.Builder withTangents(boolean enabled)
Use this method to enable or disable the built-in tangent morphing buffer.Default is true.
- Parameters:
enabled- true to enable, false to disable
-
enableCustomMorphing
@NonNull() MorphTargetBuffer.Builder enableCustomMorphing(boolean enabled)
Use this method to enable or disable custom morphing.Default is false.
- Parameters:
enabled- true to enable, false to disable
-
-
-
-