java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.HairSkinWeight
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<JoltPhysicsObject>
How much a joint influences a vertex, for use in skinning calculations.
(native type:
HairSettings::SkinWeight)-
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a default instance.HairSkinWeight(HairSkinWeight original) Instantiate a copy of the specified weight. -
Method Summary
Modifier and TypeMethodDescriptionvoidset(HairSkinWeight source) Copy the argument to the current weight.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Constructor Details
-
HairSkinWeight
public HairSkinWeight()Instantiate a default instance. -
HairSkinWeight
Instantiate a copy of the specified weight.- Parameters:
original- the settings to copy (notnull, unaffected)
-
-
Method Details
-
set
Copy the argument to the current weight.- Parameters:
source- the weight to copy (notnull, unaffected)
-