public class ConstraintDefinitionFactory
extends java.lang.Object
Constructor and Description |
---|
ConstraintDefinitionFactory() |
Modifier and Type | Method and Description |
---|---|
static ConstraintDefinition |
createConstraintDefinition(Structure constraintStructure,
java.lang.String constraintName,
java.lang.Long ownerOMA,
BlenderContext blenderContext)
This method creates the constraint instance.
|
public static ConstraintDefinition createConstraintDefinition(Structure constraintStructure, java.lang.String constraintName, java.lang.Long ownerOMA, BlenderContext blenderContext) throws BlenderFileException
constraintStructure
- the constraint's structure (bConstraint clss in blender 2.49).
If the value is null the NullConstraint is created.blenderContext
- the blender contextBlenderFileException
- this exception is thrown when the blender file is somehow
corrupted