forked from javagl/JglTF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2910dc0
commit 21b6a39
Showing
289 changed files
with
52,273 additions
and
52,273 deletions.
There are no files selected for viewing
672 changes: 336 additions & 336 deletions
672
jgltf-impl-v1/src/main/java/de/javagl/jgltf/impl/v1/Animation.java
Large diffs are not rendered by default.
Oops, something went wrong.
170 changes: 85 additions & 85 deletions
170
jgltf-impl-v1/src/main/java/de/javagl/jgltf/impl/v1/AnimationChannel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,85 @@ | ||
/* | ||
* glTF JSON model | ||
* | ||
* Do not modify this class. It is automatically generated | ||
* with JsonModelGen (https://github.com/javagl/JsonModelGen) | ||
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de | ||
*/ | ||
|
||
package de.javagl.jgltf.impl.v1; | ||
|
||
|
||
|
||
/** | ||
* Targets an animation's sampler at a node's property. | ||
* | ||
* Auto-generated for animation.channel.schema.json | ||
* | ||
*/ | ||
public class AnimationChannel | ||
extends GlTFProperty | ||
{ | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
*/ | ||
private String sampler; | ||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
*/ | ||
private AnimationChannelTarget target; | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
* @param sampler The sampler to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setSampler(String sampler) { | ||
if (sampler == null) { | ||
throw new NullPointerException((("Invalid value for sampler: "+ sampler)+", may not be null")); | ||
} | ||
this.sampler = sampler; | ||
} | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
* @return The sampler | ||
* | ||
*/ | ||
public String getSampler() { | ||
return this.sampler; | ||
} | ||
|
||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
* @param target The target to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setTarget(AnimationChannelTarget target) { | ||
if (target == null) { | ||
throw new NullPointerException((("Invalid value for target: "+ target)+", may not be null")); | ||
} | ||
this.target = target; | ||
} | ||
|
||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
* @return The target | ||
* | ||
*/ | ||
public AnimationChannelTarget getTarget() { | ||
return this.target; | ||
} | ||
|
||
} | ||
/* | ||
* glTF JSON model | ||
* | ||
* Do not modify this class. It is automatically generated | ||
* with JsonModelGen (https://github.com/javagl/JsonModelGen) | ||
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de | ||
*/ | ||
|
||
package de.javagl.jgltf.impl.v1; | ||
|
||
|
||
|
||
/** | ||
* Targets an animation's sampler at a node's property. | ||
* | ||
* Auto-generated for animation.channel.schema.json | ||
* | ||
*/ | ||
public class AnimationChannel | ||
extends GlTFProperty | ||
{ | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
*/ | ||
private String sampler; | ||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
*/ | ||
private AnimationChannelTarget target; | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
* @param sampler The sampler to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setSampler(String sampler) { | ||
if (sampler == null) { | ||
throw new NullPointerException((("Invalid value for sampler: "+ sampler)+", may not be null")); | ||
} | ||
this.sampler = sampler; | ||
} | ||
|
||
/** | ||
* The ID of a sampler in this animation used to compute the value for | ||
* the target. (required) | ||
* | ||
* @return The sampler | ||
* | ||
*/ | ||
public String getSampler() { | ||
return this.sampler; | ||
} | ||
|
||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
* @param target The target to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setTarget(AnimationChannelTarget target) { | ||
if (target == null) { | ||
throw new NullPointerException((("Invalid value for target: "+ target)+", may not be null")); | ||
} | ||
this.target = target; | ||
} | ||
|
||
/** | ||
* The ID of the node and TRS property to target. (required) | ||
* | ||
* @return The target | ||
* | ||
*/ | ||
public AnimationChannelTarget getTarget() { | ||
return this.target; | ||
} | ||
|
||
} |
180 changes: 90 additions & 90 deletions
180
jgltf-impl-v1/src/main/java/de/javagl/jgltf/impl/v1/AnimationChannelTarget.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,90 @@ | ||
/* | ||
* glTF JSON model | ||
* | ||
* Do not modify this class. It is automatically generated | ||
* with JsonModelGen (https://github.com/javagl/JsonModelGen) | ||
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de | ||
*/ | ||
|
||
package de.javagl.jgltf.impl.v1; | ||
|
||
|
||
|
||
/** | ||
* The ID of the node and TRS property that an animation channel targets. | ||
* | ||
* Auto-generated for animation.channel.target.schema.json | ||
* | ||
*/ | ||
public class AnimationChannelTarget | ||
extends GlTFProperty | ||
{ | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
*/ | ||
private String id; | ||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
*/ | ||
private String path; | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
* @param id The id to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setId(String id) { | ||
if (id == null) { | ||
throw new NullPointerException((("Invalid value for id: "+ id)+", may not be null")); | ||
} | ||
this.id = id; | ||
} | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
* @return The id | ||
* | ||
*/ | ||
public String getId() { | ||
return this.id; | ||
} | ||
|
||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
* @param path The path to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* @throws IllegalArgumentException If the given value does not meet | ||
* the given constraints | ||
* | ||
*/ | ||
public void setPath(String path) { | ||
if (path == null) { | ||
throw new NullPointerException((("Invalid value for path: "+ path)+", may not be null")); | ||
} | ||
if (((!"translation".equals(path))&&(!"rotation".equals(path)))&&(!"scale".equals(path))) { | ||
throw new IllegalArgumentException((("Invalid value for path: "+ path)+", valid: [\"translation\", \"rotation\", \"scale\"]")); | ||
} | ||
this.path = path; | ||
} | ||
|
||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
* @return The path | ||
* | ||
*/ | ||
public String getPath() { | ||
return this.path; | ||
} | ||
|
||
} | ||
/* | ||
* glTF JSON model | ||
* | ||
* Do not modify this class. It is automatically generated | ||
* with JsonModelGen (https://github.com/javagl/JsonModelGen) | ||
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de | ||
*/ | ||
|
||
package de.javagl.jgltf.impl.v1; | ||
|
||
|
||
|
||
/** | ||
* The ID of the node and TRS property that an animation channel targets. | ||
* | ||
* Auto-generated for animation.channel.target.schema.json | ||
* | ||
*/ | ||
public class AnimationChannelTarget | ||
extends GlTFProperty | ||
{ | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
*/ | ||
private String id; | ||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
*/ | ||
private String path; | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
* @param id The id to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* | ||
*/ | ||
public void setId(String id) { | ||
if (id == null) { | ||
throw new NullPointerException((("Invalid value for id: "+ id)+", may not be null")); | ||
} | ||
this.id = id; | ||
} | ||
|
||
/** | ||
* The ID of the node to target. (required) | ||
* | ||
* @return The id | ||
* | ||
*/ | ||
public String getId() { | ||
return this.id; | ||
} | ||
|
||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
* @param path The path to set | ||
* @throws NullPointerException If the given value is <code>null</code> | ||
* @throws IllegalArgumentException If the given value does not meet | ||
* the given constraints | ||
* | ||
*/ | ||
public void setPath(String path) { | ||
if (path == null) { | ||
throw new NullPointerException((("Invalid value for path: "+ path)+", may not be null")); | ||
} | ||
if (((!"translation".equals(path))&&(!"rotation".equals(path)))&&(!"scale".equals(path))) { | ||
throw new IllegalArgumentException((("Invalid value for path: "+ path)+", valid: [\"translation\", \"rotation\", \"scale\"]")); | ||
} | ||
this.path = path; | ||
} | ||
|
||
/** | ||
* The name of the node's TRS property to modify. (required)<br> | ||
* Valid values: ["translation", "rotation", "scale"] | ||
* | ||
* @return The path | ||
* | ||
*/ | ||
public String getPath() { | ||
return this.path; | ||
} | ||
|
||
} |
Oops, something went wrong.