Interface ConstDrawSettings
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
DrawSettings
Read-only access to a
DrawSettings object. (native type:
const Hair::DrawSettings)-
Method Summary
Modifier and TypeMethodDescriptionbooleanTest whether to visualize vertex angular velocities.booleanTest whether to visualize grid density.booleanTest whether to visualize grid velocity.booleanTest whether to visualize the initial gravity vector.booleanTest whether to visualize the grid density of the hair in its neutral pose.booleanTest whether to visualize the coordinate axes of each simulated vertex.booleanTest whether to visualize the strands.booleanTest whether to visualize the simulated rods.booleanTest whether to visualize the skinning points on the scalp.booleanTest whether to visualize rods in their unloaded pose.booleanTest whether to visualize vertex velocities.Return the option for coloring strands.intReturn the start of the range of strands to visualize.intReturn the end of the range of strands to visualize.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa
-
Method Details
-
getDrawAngularVelocity
boolean getDrawAngularVelocity()Test whether to visualize vertex angular velocities. The settings are unaffected. (native attribute: mDrawAngularVelocity)- Returns:
trueif enabled, otherwisefalse
-
getDrawGridDensity
boolean getDrawGridDensity()Test whether to visualize grid density. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawGridVelocity
boolean getDrawGridVelocity()Test whether to visualize grid velocity. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawInitialGravity
boolean getDrawInitialGravity()Test whether to visualize the initial gravity vector. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawNeutralDensity
boolean getDrawNeutralDensity()Test whether to visualize the grid density of the hair in its neutral pose. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawOrientations
boolean getDrawOrientations()Test whether to visualize the coordinate axes of each simulated vertex. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawRenderStrands
boolean getDrawRenderStrands()Test whether to visualize the strands. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawRods
boolean getDrawRods()Test whether to visualize the simulated rods. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawSkinPoints
boolean getDrawSkinPoints()Test whether to visualize the skinning points on the scalp. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawUnloadedRods
boolean getDrawUnloadedRods()Test whether to visualize rods in their unloaded pose. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getDrawVertexVelocity
boolean getDrawVertexVelocity()Test whether to visualize vertex velocities. The settings are unaffected.- Returns:
trueif enabled, otherwisefalse
-
getRenderStrandColor
ERenderStrandColor getRenderStrandColor()Return the option for coloring strands. The settings are unaffected.- Returns:
- the enum value (not
null)
-
getSimulationStrandBegin
int getSimulationStrandBegin()Return the start of the range of strands to visualize. The settings are unaffected.- Returns:
- the starting strand index
-
getSimulationStrandEnd
int getSimulationStrandEnd()Return the end of the range of strands to visualize. The settings are unaffected.- Returns:
- the ending strand index
-