• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.jme3.scene.plugins.blender.constraints;
2 
3 import com.jme3.scene.plugins.blender.BlenderContext;
4 import com.jme3.scene.plugins.blender.animations.Ipo;
5 import com.jme3.scene.plugins.blender.exceptions.BlenderFileException;
6 import com.jme3.scene.plugins.blender.file.Structure;
7 
8 /**
9  * This class represents 'Null' constraint type in blender.
10  * @author Marcin Roguski (Kaelthas)
11  */
12 /*package*/ class ConstraintNull extends Constraint {
13 
14 	/**
15 	 * This constructor creates the constraint instance.
16 	 *
17 	 * @param constraintStructure
18 	 *            the constraint's structure (bConstraint clss in blender 2.49).
19 	 * @param ownerOMA
20 	 *            the old memory address of the constraint owner
21 	 * @param influenceIpo
22 	 *            the ipo curve of the influence factor
23 	 * @param blenderContext
24 	 *            the blender context
25 	 * @throws BlenderFileException
26 	 *             this exception is thrown when the blender file is somehow
27 	 *             corrupted
28 	 */
ConstraintNull(Structure constraintStructure, Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext)29 	public ConstraintNull(Structure constraintStructure, Long ownerOMA,
30 			Ipo influenceIpo, BlenderContext blenderContext)
31 			throws BlenderFileException {
32 		super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
33 	}
34 
35 	@Override
bakeConstraint()36 	protected void bakeConstraint() {}
37 }
38