@markandre13/usd.js 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/compression/compress.js +1 -1
- package/dist/compression/compress.js.map +1 -1
- package/dist/compression/integers.js +2 -0
- package/dist/compression/integers.js.map +1 -1
- package/dist/crate/BootStrap.d.ts +1 -1
- package/dist/crate/Crate.d.ts +14 -12
- package/dist/crate/Crate.js +38 -19
- package/dist/crate/Crate.js.map +1 -1
- package/dist/crate/CrateDataType.d.ts +1 -1
- package/dist/crate/CrateDataType.js +3 -0
- package/dist/crate/CrateDataType.js.map +1 -1
- package/dist/crate/Field.d.ts +4 -3
- package/dist/crate/Field.js +2 -2
- package/dist/crate/Field.js.map +1 -1
- package/dist/crate/FieldSets.d.ts +2 -2
- package/dist/crate/FieldSets.js +1 -0
- package/dist/crate/FieldSets.js.map +1 -1
- package/dist/crate/Fields.d.ts +27 -18
- package/dist/crate/Fields.js +243 -63
- package/dist/crate/Fields.js.map +1 -1
- package/dist/crate/Paths.d.ts +3 -3
- package/dist/crate/Reader.js +2 -2
- package/dist/crate/Reader.js.map +1 -1
- package/dist/crate/Section.d.ts +1 -1
- package/dist/crate/Specs.d.ts +3 -3
- package/dist/crate/Stage.js +1 -1
- package/dist/crate/Stage.js.map +1 -1
- package/dist/crate/Strings.d.ts +2 -2
- package/dist/crate/TableOfContents.d.ts +4 -4
- package/dist/crate/TableOfContents.js +1 -1
- package/dist/crate/TableOfContents.js.map +1 -1
- package/dist/crate/Tokens.d.ts +2 -2
- package/dist/crate/Tokens.js +2 -2
- package/dist/crate/Tokens.js.map +1 -1
- package/dist/crate/TypedTimeSamples.d.ts +5 -0
- package/dist/crate/TypedTimeSamples.js +2 -0
- package/dist/crate/TypedTimeSamples.js.map +1 -0
- package/dist/crate/ValueRep.d.ts +4 -4
- package/dist/crate/ValueRep.js +167 -16
- package/dist/crate/ValueRep.js.map +1 -1
- package/dist/crate/Writer.d.ts +3 -0
- package/dist/crate/Writer.js +19 -5
- package/dist/crate/Writer.js.map +1 -1
- package/dist/nodes/attributes/AssetPathAttr.js +1 -1
- package/dist/nodes/attributes/AssetPathAttr.js.map +1 -1
- package/dist/nodes/attributes/Attribute.d.ts +1 -1
- package/dist/nodes/attributes/Attribute.js +2 -2
- package/dist/nodes/attributes/Attribute.js.map +1 -1
- package/dist/nodes/attributes/BooleanAttr.d.ts +2 -2
- package/dist/nodes/attributes/BooleanAttr.js +2 -2
- package/dist/nodes/attributes/BooleanAttr.js.map +1 -1
- package/dist/nodes/attributes/Color3fAttr.d.ts +1 -1
- package/dist/nodes/attributes/Color3fAttr.js +2 -2
- package/dist/nodes/attributes/Color3fAttr.js.map +1 -1
- package/dist/nodes/attributes/FloatArrayAttr.d.ts +6 -0
- package/dist/nodes/attributes/FloatArrayAttr.js +18 -0
- package/dist/nodes/attributes/FloatArrayAttr.js.map +1 -0
- package/dist/nodes/attributes/FloatAttr.d.ts +1 -1
- package/dist/nodes/attributes/FloatAttr.js +2 -2
- package/dist/nodes/attributes/FloatAttr.js.map +1 -1
- package/dist/nodes/attributes/IntArrayAttr.d.ts +4 -2
- package/dist/nodes/attributes/IntArrayAttr.js +7 -3
- package/dist/nodes/attributes/IntArrayAttr.js.map +1 -1
- package/dist/nodes/attributes/Relationship.d.ts +2 -2
- package/dist/nodes/attributes/Relationship.js +3 -3
- package/dist/nodes/attributes/Relationship.js.map +1 -1
- package/dist/nodes/attributes/StringAttr.d.ts +1 -1
- package/dist/nodes/attributes/StringAttr.js +2 -2
- package/dist/nodes/attributes/StringAttr.js.map +1 -1
- package/dist/nodes/attributes/TokenAttr.d.ts +4 -4
- package/dist/nodes/attributes/TokenAttr.js +14 -4
- package/dist/nodes/attributes/TokenAttr.js.map +1 -1
- package/dist/nodes/attributes/VariabilityAttr.d.ts +2 -2
- package/dist/nodes/attributes/VariabilityAttr.js +2 -2
- package/dist/nodes/attributes/VariabilityAttr.js.map +1 -1
- package/dist/nodes/attributes/Vec2fArrayAttr.d.ts +2 -2
- package/dist/nodes/attributes/Vec2fArrayAttr.js +2 -2
- package/dist/nodes/attributes/Vec2fArrayAttr.js.map +1 -1
- package/dist/nodes/attributes/Vec3fArrayAttr.d.ts +4 -2
- package/dist/nodes/attributes/Vec3fArrayAttr.js +7 -3
- package/dist/nodes/attributes/Vec3fArrayAttr.js.map +1 -1
- package/dist/nodes/geometry/Boundable.d.ts +1 -1
- package/dist/nodes/geometry/Boundable.js +2 -2
- package/dist/nodes/geometry/Boundable.js.map +1 -1
- package/dist/nodes/geometry/Camera.d.ts +2 -2
- package/dist/nodes/geometry/Camera.js +5 -5
- package/dist/nodes/geometry/Camera.js.map +1 -1
- package/dist/nodes/geometry/GeomSubset.d.ts +67 -2
- package/dist/nodes/geometry/GeomSubset.js +103 -10
- package/dist/nodes/geometry/GeomSubset.js.map +1 -1
- package/dist/nodes/geometry/Gprim.d.ts +1 -1
- package/dist/nodes/geometry/Gprim.js +3 -3
- package/dist/nodes/geometry/Gprim.js.map +1 -1
- package/dist/nodes/geometry/Imageable.d.ts +1 -1
- package/dist/nodes/geometry/Imageable.js +1 -1
- package/dist/nodes/geometry/Imageable.js.map +1 -1
- package/dist/nodes/geometry/Mesh.d.ts +11 -7
- package/dist/nodes/geometry/Mesh.js +39 -15
- package/dist/nodes/geometry/Mesh.js.map +1 -1
- package/dist/nodes/geometry/PointBased.d.ts +2 -1
- package/dist/nodes/geometry/PointBased.js +15 -3
- package/dist/nodes/geometry/PointBased.js.map +1 -1
- package/dist/nodes/geometry/Scope.d.ts +3 -2
- package/dist/nodes/geometry/Scope.js +7 -3
- package/dist/nodes/geometry/Scope.js.map +1 -1
- package/dist/nodes/geometry/SkelBindingAPI.d.ts +20 -3
- package/dist/nodes/geometry/Xform.d.ts +2 -2
- package/dist/nodes/geometry/Xform.js +3 -3
- package/dist/nodes/geometry/Xform.js.map +1 -1
- package/dist/nodes/geometry/Xformable.d.ts +7 -4
- package/dist/nodes/geometry/Xformable.js +50 -14
- package/dist/nodes/geometry/Xformable.js.map +1 -1
- package/dist/nodes/lux/BoundableLightBase.d.ts +1 -1
- package/dist/nodes/lux/BoundableLightBase.js +3 -3
- package/dist/nodes/lux/BoundableLightBase.js.map +1 -1
- package/dist/nodes/lux/DomeLight.d.ts +6 -2
- package/dist/nodes/lux/DomeLight.js +35 -4
- package/dist/nodes/lux/DomeLight.js.map +1 -1
- package/dist/nodes/lux/NonboundableLightBase.d.ts +1 -1
- package/dist/nodes/lux/NonboundableLightBase.js +2 -2
- package/dist/nodes/lux/NonboundableLightBase.js.map +1 -1
- package/dist/nodes/lux/SphereLight.d.ts +2 -2
- package/dist/nodes/lux/SphereLight.js +4 -4
- package/dist/nodes/lux/SphereLight.js.map +1 -1
- package/dist/nodes/shader/Material.d.ts +3 -2
- package/dist/nodes/shader/Material.js +17 -4
- package/dist/nodes/shader/Material.js.map +1 -1
- package/dist/nodes/shader/NodeGraph.d.ts +1 -1
- package/dist/nodes/shader/NodeGraph.js +1 -1
- package/dist/nodes/shader/NodeGraph.js.map +1 -1
- package/dist/nodes/shader/Shader.d.ts +2 -2
- package/dist/nodes/shader/Shader.js +4 -4
- package/dist/nodes/shader/Shader.js.map +1 -1
- package/dist/nodes/shader/blender/ImageTexture.d.ts +12 -0
- package/dist/nodes/shader/blender/ImageTexture.js +59 -0
- package/dist/nodes/shader/blender/ImageTexture.js.map +1 -0
- package/dist/nodes/shader/blender/PrincipledBSDF.d.ts +14 -0
- package/dist/nodes/shader/blender/PrincipledBSDF.js +82 -0
- package/dist/nodes/shader/blender/PrincipledBSDF.js.map +1 -0
- package/dist/nodes/shader/blender/UVMap.d.ts +9 -0
- package/dist/nodes/shader/blender/UVMap.js +32 -0
- package/dist/nodes/shader/blender/UVMap.js.map +1 -0
- package/dist/nodes/skeleton/BlendShape.d.ts +21 -0
- package/dist/nodes/skeleton/BlendShape.js +46 -0
- package/dist/nodes/skeleton/BlendShape.js.map +1 -0
- package/dist/nodes/skeleton/SkelAnimation.d.ts +51 -0
- package/dist/nodes/skeleton/SkelAnimation.js +133 -0
- package/dist/nodes/skeleton/SkelAnimation.js.map +1 -0
- package/dist/nodes/skeleton/SkelRoot.d.ts +7 -3
- package/dist/nodes/skeleton/SkelRoot.js +8 -4
- package/dist/nodes/skeleton/SkelRoot.js.map +1 -1
- package/dist/nodes/skeleton/Skeleton.d.ts +13 -2
- package/dist/nodes/skeleton/Skeleton.js +24 -7
- package/dist/nodes/skeleton/Skeleton.js.map +1 -1
- package/dist/nodes/usd/PseudoRoot.d.ts +5 -2
- package/dist/nodes/usd/PseudoRoot.js +5 -2
- package/dist/nodes/usd/PseudoRoot.js.map +1 -1
- package/dist/nodes/usd/SchemaBase.d.ts +1 -1
- package/dist/nodes/usd/SchemaBase.js +1 -1
- package/dist/nodes/usd/SchemaBase.js.map +1 -1
- package/dist/nodes/usd/Typed.d.ts +2 -2
- package/dist/nodes/usd/Typed.js +1 -1
- package/dist/nodes/usd/Typed.js.map +1 -1
- package/dist/nodes/usd/UsdNode.d.ts +19 -6
- package/dist/nodes/usd/UsdNode.js +68 -2
- package/dist/nodes/usd/UsdNode.js.map +1 -1
- package/dist/types/ListOp.d.ts +29 -0
- package/dist/types/ListOp.js +22 -0
- package/dist/types/ListOp.js.map +1 -0
- package/dist/types/TimeSamples.d.ts +4 -0
- package/dist/types/TimeSamples.js +2 -0
- package/dist/types/TimeSamples.js.map +1 -0
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UsdNode } from "../usd/UsdNode";
|
|
2
|
-
import { NodeGraph } from "./NodeGraph";
|
|
1
|
+
import type { UsdNode } from "../usd/UsdNode.js";
|
|
2
|
+
import { NodeGraph } from "./NodeGraph.js";
|
|
3
3
|
/**
|
|
4
4
|
* A Material provides a container into which multiple "render contexts"
|
|
5
5
|
* can add data that defines a "shading material" for a renderer.
|
|
@@ -8,5 +8,6 @@ import { NodeGraph } from "./NodeGraph";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Material extends NodeGraph {
|
|
10
10
|
constructor(parent: UsdNode, name: string);
|
|
11
|
+
set surface(value: UsdNode | undefined);
|
|
11
12
|
set blenderDataName(value: string | undefined);
|
|
12
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Specifier } from "../../crate/Specifier";
|
|
2
|
-
import { SpecType } from "../../crate/SpecType";
|
|
3
|
-
import { StringAttr } from "../attributes/StringAttr";
|
|
4
|
-
import { NodeGraph } from "./NodeGraph";
|
|
1
|
+
import { Specifier } from "../../crate/Specifier.js";
|
|
2
|
+
import { SpecType } from "../../crate/SpecType.js";
|
|
3
|
+
import { StringAttr } from "../attributes/StringAttr.js";
|
|
4
|
+
import { NodeGraph } from "./NodeGraph.js";
|
|
5
|
+
import { Attribute } from "../attributes/Attribute.js";
|
|
5
6
|
/**
|
|
6
7
|
* A Material provides a container into which multiple "render contexts"
|
|
7
8
|
* can add data that defines a "shading material" for a renderer.
|
|
@@ -15,6 +16,18 @@ export class Material extends NodeGraph {
|
|
|
15
16
|
this.specifier = Specifier.Def;
|
|
16
17
|
this.typeName = "Material";
|
|
17
18
|
}
|
|
19
|
+
set surface(value) {
|
|
20
|
+
this.deleteChild("outputs:surface");
|
|
21
|
+
if (value !== undefined) {
|
|
22
|
+
new Attribute(this, "outputs:surface", (node) => {
|
|
23
|
+
node.setToken("typeName", "token");
|
|
24
|
+
node.setPathListOp("connectionPaths", {
|
|
25
|
+
isExplicit: true,
|
|
26
|
+
explicit: [value]
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
18
31
|
set blenderDataName(value) {
|
|
19
32
|
this.deleteChild("userProperties:blender:data_name");
|
|
20
33
|
if (value !== undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Material.js","sourceRoot":"","sources":["../../../src/nodes/shader/Material.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|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AE,CAAC;YACtB,IAAI,UAAU,CAAC,IAAI,EAAE,kCAAkC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;QACrF,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeGraph.js","sourceRoot":"","sources":["../../../src/nodes/shader/NodeGraph.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NodeGraph.js","sourceRoot":"","sources":["../../../src/nodes/shader/NodeGraph.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,MAAM,OAAO,SAAU,SAAQ,KAAK;CAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UsdNode } from "../usd/UsdNode";
|
|
2
|
-
import { Typed } from "../usd/Typed";
|
|
1
|
+
import type { UsdNode } from "../usd/UsdNode.js";
|
|
2
|
+
import { Typed } from "../usd/Typed.js";
|
|
3
3
|
/**
|
|
4
4
|
* Base class for all USD shaders. Shaders are the building blocks
|
|
5
5
|
* of shading networks. While UsdShadeShader objects are not target specific,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Specifier } from "../../crate/Specifier";
|
|
2
|
-
import { SpecType } from "../../crate/SpecType";
|
|
3
|
-
import { StringAttr } from "../attributes/StringAttr";
|
|
4
|
-
import { Typed } from "../usd/Typed";
|
|
1
|
+
import { Specifier } from "../../crate/Specifier.js";
|
|
2
|
+
import { SpecType } from "../../crate/SpecType.js";
|
|
3
|
+
import { StringAttr } from "../attributes/StringAttr.js";
|
|
4
|
+
import { Typed } from "../usd/Typed.js";
|
|
5
5
|
/**
|
|
6
6
|
* Base class for all USD shaders. Shaders are the building blocks
|
|
7
7
|
* of shading networks. While UsdShadeShader objects are not target specific,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shader.js","sourceRoot":"","sources":["../../../src/nodes/shader/Shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Shader.js","sourceRoot":"","sources":["../../../src/nodes/shader/Shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC;;;;;;;GAOG;AACH,MAAM,OAAO,MAAO,SAAQ,KAAK;IAC7B,YAAY,MAAe,EAAE,IAAY;QACrC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;QAC5C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAA;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,CAAA;QAC9B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC5B,CAAC;IACD,IAAI,eAAe,CAAC,KAAyB;QACzC,IAAI,CAAC,WAAW,CAAC,kCAAkC,CAAC,CAAA;QACpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACtB,IAAI,UAAU,CAAC,IAAI,EAAE,kCAAkC,EAAE,KAAK,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAA;QACnF,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UsdNode } from "../../usd/UsdNode.js";
|
|
2
|
+
import { Shader } from "../Shader.js";
|
|
3
|
+
export type WrapMode = "black" | "clamp" | "repeat" | "mirror" | "useMetadata";
|
|
4
|
+
export declare class ImageTexture extends Shader {
|
|
5
|
+
set infoId(value: string | undefined);
|
|
6
|
+
set file(value: string | undefined);
|
|
7
|
+
set sourceColorSpace(value: "raw" | "sRGB" | "auto" | undefined);
|
|
8
|
+
set uvCoords(value: UsdNode | undefined);
|
|
9
|
+
set wrapS(value: WrapMode | undefined);
|
|
10
|
+
set wrapT(value: WrapMode | undefined);
|
|
11
|
+
get outputsRGB(): UsdNode;
|
|
12
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Variability } from "../../../crate/Variability.js";
|
|
2
|
+
import { AssetPathAttr } from "../../attributes/AssetPathAttr.js";
|
|
3
|
+
import { Attribute } from "../../attributes/Attribute.js";
|
|
4
|
+
import { TokenAttr } from "../../attributes/TokenAttr.js";
|
|
5
|
+
import { Shader } from "../Shader.js";
|
|
6
|
+
export class ImageTexture extends Shader {
|
|
7
|
+
set infoId(value) {
|
|
8
|
+
this.deleteChild("info:id");
|
|
9
|
+
if (value !== undefined) {
|
|
10
|
+
new TokenAttr(this, "info:id", Variability.Uniform, value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
set file(value) {
|
|
14
|
+
this.deleteChild("inputs:file");
|
|
15
|
+
if (value !== undefined) {
|
|
16
|
+
new AssetPathAttr(this, "inputs:file", value);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
set sourceColorSpace(value) {
|
|
20
|
+
this.deleteChild("inputs:sourceColorSpace");
|
|
21
|
+
if (value !== undefined) {
|
|
22
|
+
new TokenAttr(this, "inputs:sourceColorSpace", undefined, value);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
set uvCoords(value) {
|
|
26
|
+
this.deleteChild("inputs:st");
|
|
27
|
+
if (value !== undefined) {
|
|
28
|
+
new Attribute(this, "inputs:st", (node) => {
|
|
29
|
+
node.setToken("typeName", "float2");
|
|
30
|
+
node.setPathListOp("connectionPaths", {
|
|
31
|
+
isExplicit: true,
|
|
32
|
+
explicit: [value]
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
set wrapS(value) {
|
|
38
|
+
this.deleteChild("inputs:wrapS");
|
|
39
|
+
if (value !== undefined) {
|
|
40
|
+
new TokenAttr(this, "inputs:wrapS", undefined, value);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
set wrapT(value) {
|
|
44
|
+
this.deleteChild("inputs:wrapT");
|
|
45
|
+
if (value !== undefined) {
|
|
46
|
+
new TokenAttr(this, "inputs:wrapT", undefined, value);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
get outputsRGB() {
|
|
50
|
+
const node = this.findChild("outputs:rgb");
|
|
51
|
+
if (node !== undefined) {
|
|
52
|
+
return node;
|
|
53
|
+
}
|
|
54
|
+
return new Attribute(this, "outputs:rgb", node => {
|
|
55
|
+
node.setToken("typeName", "float3");
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=ImageTexture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageTexture.js","sourceRoot":"","sources":["../../../../src/nodes/shader/blender/ImageTexture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAIrC,MAAM,OAAO,YAAa,SAAQ,MAAM;IACpC,IAAI,MAAM,CAAC,KAAyB;QAChC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QAC3B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACtB,IAAI,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;QAC9D,CAAC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B,IAAI,SAAS,CAAC,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;QACzD,CAAC;IACL,CAAC;IACD,IAAI,UAAU;QACV,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAA;QAC1C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,OAAO,IAAI,CAAA;QACf,CAAC;QACD,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE;YAC7C,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAA;QACvC,CAAC,CAAC,CAAA;IACN,CAAC;CACJ"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UsdNode } from "../../usd/UsdNode.js";
|
|
2
|
+
import { Shader } from "../Shader.js";
|
|
3
|
+
export declare class PrincipledBSDF extends Shader {
|
|
4
|
+
set infoId(value: string | undefined);
|
|
5
|
+
set clearcoat(value: number | undefined);
|
|
6
|
+
set clearcoatRoughness(value: number | undefined);
|
|
7
|
+
set diffuseColor(value: number[] | UsdNode | undefined);
|
|
8
|
+
set ior(value: number | undefined);
|
|
9
|
+
set metallic(value: number | undefined);
|
|
10
|
+
set opacity(value: number | undefined);
|
|
11
|
+
set roughness(value: number | undefined);
|
|
12
|
+
set specular(value: number | undefined);
|
|
13
|
+
get outputsSurface(): UsdNode;
|
|
14
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Variability } from "../../../crate/Variability.js";
|
|
2
|
+
import { Attribute } from "../../attributes/Attribute.js";
|
|
3
|
+
import { Color3fAttr } from "../../attributes/Color3fAttr.js";
|
|
4
|
+
import { FloatAttr } from "../../attributes/FloatAttr.js";
|
|
5
|
+
import { TokenAttr } from "../../attributes/TokenAttr.js";
|
|
6
|
+
import { UsdNode } from "../../usd/UsdNode.js";
|
|
7
|
+
import { Shader } from "../Shader.js";
|
|
8
|
+
export class PrincipledBSDF extends Shader {
|
|
9
|
+
set infoId(value) {
|
|
10
|
+
this.deleteChild("info:id");
|
|
11
|
+
if (value !== undefined) {
|
|
12
|
+
new TokenAttr(this, "info:id", Variability.Uniform, value);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
set clearcoat(value) {
|
|
16
|
+
this.deleteChild("inputs:clearcoat");
|
|
17
|
+
if (value !== undefined) {
|
|
18
|
+
new FloatAttr(this, "inputs:clearcoat", value);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
set clearcoatRoughness(value) {
|
|
22
|
+
this.deleteChild("inputs:clearcoatRoughness");
|
|
23
|
+
if (value !== undefined) {
|
|
24
|
+
new FloatAttr(this, "inputs:clearcoatRoughness", value);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
set diffuseColor(value) {
|
|
28
|
+
this.deleteChild("inputs:diffuseColor");
|
|
29
|
+
if (value !== undefined) {
|
|
30
|
+
if (value instanceof UsdNode) {
|
|
31
|
+
new Attribute(this, "inputs:diffuseColor", node => {
|
|
32
|
+
node.setToken("typeName", "color3f");
|
|
33
|
+
node.setPathListOp("connectionPaths", {
|
|
34
|
+
isExplicit: true,
|
|
35
|
+
explicit: [value]
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
new Color3fAttr(this, "inputs:diffuseColor", value);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
set ior(value) {
|
|
45
|
+
this.deleteChild("inputs:ior");
|
|
46
|
+
if (value !== undefined) {
|
|
47
|
+
new FloatAttr(this, "inputs:ior", value);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
set metallic(value) {
|
|
51
|
+
this.deleteChild("inputs:metallic");
|
|
52
|
+
if (value !== undefined) {
|
|
53
|
+
new FloatAttr(this, "inputs:metallic", value);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
set opacity(value) {
|
|
57
|
+
this.deleteChild("inputs:opacity");
|
|
58
|
+
if (value !== undefined) {
|
|
59
|
+
new FloatAttr(this, "inputs:opacity", value);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
set roughness(value) {
|
|
63
|
+
this.deleteChild("inputs:roughness");
|
|
64
|
+
if (value !== undefined) {
|
|
65
|
+
new FloatAttr(this, "inputs:roughness", value);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
set specular(value) {
|
|
69
|
+
this.deleteChild("inputs:specular");
|
|
70
|
+
if (value !== undefined) {
|
|
71
|
+
new FloatAttr(this, "inputs:specular", value);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
get outputsSurface() {
|
|
75
|
+
let node = this.findChild("outputs:surface");
|
|
76
|
+
if (node) {
|
|
77
|
+
return node;
|
|
78
|
+
}
|
|
79
|
+
return new TokenAttr(this, "outputs:surface");
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=PrincipledBSDF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrincipledBSDF.js","sourceRoot":"","sources":["../../../../src/nodes/shader/blender/PrincipledBSDF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,MAAM,OAAO,cAAe,SAAQ,MAAM;IACtC,IAAI,MAAM,CAAC,KAAyB;QAChC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QAC3B,IAAI,KAAK,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-0,0 +1,9 @@
|
|
|
1
|
+
import { Shader } from "../Shader.js";
|
|
2
|
+
/**
|
|
3
|
+
* Blender 'UV Map' input node: Retrieves a UV Map from the geometry
|
|
4
|
+
*/
|
|
5
|
+
export declare class UVMap extends Shader {
|
|
6
|
+
set infoId(value: string | undefined);
|
|
7
|
+
set inputsVarname(value: string | undefined);
|
|
8
|
+
get outputsResult(): import("../../usd/UsdNode.js").UsdNode;
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Variability } from "../../../crate/Variability.js";
|
|
2
|
+
import { Attribute } from "../../attributes/Attribute.js";
|
|
3
|
+
import { StringAttr } from "../../attributes/StringAttr.js";
|
|
4
|
+
import { TokenAttr } from "../../attributes/TokenAttr.js";
|
|
5
|
+
import { Shader } from "../Shader.js";
|
|
6
|
+
/**
|
|
7
|
+
* Blender 'UV Map' input node: Retrieves a UV Map from the geometry
|
|
8
|
+
*/
|
|
9
|
+
export class UVMap extends Shader {
|
|
10
|
+
set infoId(value) {
|
|
11
|
+
this.deleteChild("info:id");
|
|
12
|
+
if (value !== undefined) {
|
|
13
|
+
new TokenAttr(this, "info:id", Variability.Uniform, value);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
set inputsVarname(value) {
|
|
17
|
+
this.deleteChild("inputs:varname");
|
|
18
|
+
if (value !== undefined) {
|
|
19
|
+
new StringAttr(this, "inputs:varname", value);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
get outputsResult() {
|
|
23
|
+
let node = this.findChild("outputs:result");
|
|
24
|
+
if (node) {
|
|
25
|
+
return node;
|
|
26
|
+
}
|
|
27
|
+
return new Attribute(this, "outputs:result", node => {
|
|
28
|
+
node.setToken("typeName", "float2");
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=UVMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UVMap.js","sourceRoot":"","sources":["../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
|
+
/**
|
|
4
|
+
* Describes a target blend shape, possibly containing inbetween shapes.
|
|
5
|
+
*
|
|
6
|
+
* defined in pxr/usd/usdSkel/schema.usda
|
|
7
|
+
*/
|
|
8
|
+
export declare class BlendShape extends Typed {
|
|
9
|
+
constructor(parent: UsdNode, name: string);
|
|
10
|
+
/**
|
|
11
|
+
* **Required property**. Position offsets which, when added to the
|
|
12
|
+
* base pose, provides the target shape.
|
|
13
|
+
*/
|
|
14
|
+
set offsets(value: ArrayLike<number> | undefined);
|
|
15
|
+
/**
|
|
16
|
+
* **Required property**. Normal offsets which, when added to the
|
|
17
|
+
* base pose, provides the normals of the target shape.
|
|
18
|
+
*/
|
|
19
|
+
set normalOffsets(value: ArrayLike<number> | undefined);
|
|
20
|
+
set pointIndices(value: ArrayLike<number> | undefined);
|
|
21
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Specifier } from "../../crate/Specifier.js";
|
|
2
|
+
import { SpecType } from "../../crate/SpecType.js";
|
|
3
|
+
import { Variability } from "../../crate/Variability.js";
|
|
4
|
+
import { IntArrayAttr } from "../attributes/IntArrayAttr.js";
|
|
5
|
+
import { Vec3fArrayAttr } from "../attributes/Vec3fArrayAttr.js";
|
|
6
|
+
import { Typed } from "../usd/Typed.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes a target blend shape, possibly containing inbetween shapes.
|
|
9
|
+
*
|
|
10
|
+
* defined in pxr/usd/usdSkel/schema.usda
|
|
11
|
+
*/
|
|
12
|
+
export class BlendShape extends Typed {
|
|
13
|
+
constructor(parent, name) {
|
|
14
|
+
super(parent.crate, parent, -1, name, true);
|
|
15
|
+
this.spec_type = SpecType.Prim;
|
|
16
|
+
this.specifier = Specifier.Def;
|
|
17
|
+
this.typeName = "BlendShape";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* **Required property**. Position offsets which, when added to the
|
|
21
|
+
* base pose, provides the target shape.
|
|
22
|
+
*/
|
|
23
|
+
set offsets(value) {
|
|
24
|
+
this.deleteChild("offsets");
|
|
25
|
+
if (value !== undefined) {
|
|
26
|
+
new Vec3fArrayAttr(this, "offsets", value, "vector3f[]", Variability.Uniform);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* **Required property**. Normal offsets which, when added to the
|
|
31
|
+
* base pose, provides the normals of the target shape.
|
|
32
|
+
*/
|
|
33
|
+
set normalOffsets(value) {
|
|
34
|
+
this.deleteChild("normalOffsets");
|
|
35
|
+
if (value !== undefined) {
|
|
36
|
+
new Vec3fArrayAttr(this, "normalOffsets", value, "vector3f[]", Variability.Uniform);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
set pointIndices(value) {
|
|
40
|
+
this.deleteChild("pointIndices");
|
|
41
|
+
if (value !== undefined) {
|
|
42
|
+
new IntArrayAttr(this, "pointIndices", value, Variability.Uniform);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=BlendShape.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlendShape.js","sourceRoot":"","sources":["../../../src/nodes/skeleton/BlendShape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAGvC;;;;GAIG;AACH,MAAM,OAAO,UAAW,SAAQ,KAAK;IACjC,YAAY,MAAe,EAAE,IAAY;QACrC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;QAC3C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAA;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,CAAA;QAC9B,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAA;IAChC,CAAC;IAED;;;OAGG;IACH,IAAI,OAAO,CAAC,KAAoC;QAC5C,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QAC3B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACtB,IAAI,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;QACjF,CAAC;IACL,CAAC;IACD;;;OAGG;IACH,IAAI,aAAa,CAAC,KAAoC;QAClD,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAA;QACjC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACtB,IAAI,cAAc,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;QACvF,CAAC;IACL,CAAC;IACD,IAAI,YAAY,CAAC,KAAoC;QACjD,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAA;QAChC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACtB,IAAI,YAAY,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;QACtE,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { TimeSamples } from "../../types/TimeSamples.js";
|
|
2
|
+
import { Typed } from "../usd/Typed.js";
|
|
3
|
+
import { UsdNode } from "../usd/UsdNode.js";
|
|
4
|
+
/**
|
|
5
|
+
* Describes a skel animation, where joint animation is stored in a
|
|
6
|
+
* vectorized form.
|
|
7
|
+
*
|
|
8
|
+
* defined in pxr/usd/usdSkel/schema.usda
|
|
9
|
+
*/
|
|
10
|
+
export declare class SkelAnimation extends Typed {
|
|
11
|
+
constructor(parent: UsdNode, name: string);
|
|
12
|
+
/**
|
|
13
|
+
* Array of tokens identifying which joints this animation's
|
|
14
|
+
* data applies to. The tokens for joints correspond to the tokens of
|
|
15
|
+
* Skeleton primitives. The order of the joints as listed here may
|
|
16
|
+
* vary from the order of joints on the Skeleton itself.
|
|
17
|
+
*/
|
|
18
|
+
set joints(value: string[] | undefined);
|
|
19
|
+
/**
|
|
20
|
+
* Joint-local translations of all affected joints. Array length
|
|
21
|
+
* should match the size of the *joints* attribute.
|
|
22
|
+
*/
|
|
23
|
+
set translations(value: ArrayLike<number> | TimeSamples | undefined);
|
|
24
|
+
/**
|
|
25
|
+
* Joint-local unit quaternion rotations of all affected joints,
|
|
26
|
+
* in 32-bit precision. Array length should match the size of the
|
|
27
|
+
* *joints* attribute.
|
|
28
|
+
*/
|
|
29
|
+
set rotations(value: ArrayLike<number> | TimeSamples | undefined);
|
|
30
|
+
/**
|
|
31
|
+
* Joint-local scales of all affected joints, in
|
|
32
|
+
* 16 bit precision. Array length should match the size of the *joints*
|
|
33
|
+
* attribute.
|
|
34
|
+
*/
|
|
35
|
+
set scales(value: ArrayLike<number> | TimeSamples | undefined);
|
|
36
|
+
/**
|
|
37
|
+
* Array of tokens identifying which blend shapes this
|
|
38
|
+
* animation's data applies to. The tokens for blendShapes correspond to
|
|
39
|
+
* the tokens set in the *skel:blendShapes* binding property of the
|
|
40
|
+
* UsdSkelBindingAPI. Note that blendShapes does not accept time-sampled
|
|
41
|
+
* values.
|
|
42
|
+
*/
|
|
43
|
+
set blendShapes(values: string[] | undefined);
|
|
44
|
+
/**
|
|
45
|
+
* Array of weight values for each blend shape. Each weight value
|
|
46
|
+
* is associated with the corresponding blend shape identified within the
|
|
47
|
+
* *blendShapes* token array, and therefore must have the same length as
|
|
48
|
+
* *blendShapes.
|
|
49
|
+
*/
|
|
50
|
+
set blendShapeWeights(value: ArrayLike<number> | TimeSamples | undefined);
|
|
51
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { CrateDataType } from "../../crate/CrateDataType.js";
|
|
2
|
+
import { Specifier } from "../../crate/Specifier.js";
|
|
3
|
+
import { SpecType } from "../../crate/SpecType.js";
|
|
4
|
+
import { Variability } from "../../crate/Variability.js";
|
|
5
|
+
import { Attribute } from "../attributes/Attribute.js";
|
|
6
|
+
import { FloatArrayAttr } from "../attributes/FloatArrayAttr.js";
|
|
7
|
+
import { TokenAttr } from "../attributes/TokenAttr.js";
|
|
8
|
+
import { Typed } from "../usd/Typed.js";
|
|
9
|
+
import { Skeleton } from "./Skeleton.js";
|
|
10
|
+
/**
|
|
11
|
+
* Describes a skel animation, where joint animation is stored in a
|
|
12
|
+
* vectorized form.
|
|
13
|
+
*
|
|
14
|
+
* defined in pxr/usd/usdSkel/schema.usda
|
|
15
|
+
*/
|
|
16
|
+
export class SkelAnimation extends Typed {
|
|
17
|
+
constructor(parent, name) {
|
|
18
|
+
super(parent.crate, parent, -1, name, true);
|
|
19
|
+
this.spec_type = SpecType.Prim;
|
|
20
|
+
this.specifier = Specifier.Def;
|
|
21
|
+
this.typeName = "SkelAnimation";
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Array of tokens identifying which joints this animation's
|
|
25
|
+
* data applies to. The tokens for joints correspond to the tokens of
|
|
26
|
+
* Skeleton primitives. The order of the joints as listed here may
|
|
27
|
+
* vary from the order of joints on the Skeleton itself.
|
|
28
|
+
*/
|
|
29
|
+
set joints(value) {
|
|
30
|
+
Skeleton._joints(this, value);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Joint-local translations of all affected joints. Array length
|
|
34
|
+
* should match the size of the *joints* attribute.
|
|
35
|
+
*/
|
|
36
|
+
set translations(value) {
|
|
37
|
+
this.deleteChild("translations");
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
new Attribute(this, "translations", node => {
|
|
42
|
+
node.setToken("typeName", "float3[]");
|
|
43
|
+
if (Array.isArray(value)) {
|
|
44
|
+
node.setVec3fArray("default", value);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const ts = value;
|
|
48
|
+
node.setVec3fArray("default", ts.samples[0]);
|
|
49
|
+
node.setTimeSamples("timeSamples", { ...ts, sampleType: CrateDataType.Vec3f });
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Joint-local unit quaternion rotations of all affected joints,
|
|
55
|
+
* in 32-bit precision. Array length should match the size of the
|
|
56
|
+
* *joints* attribute.
|
|
57
|
+
*/
|
|
58
|
+
set rotations(value) {
|
|
59
|
+
this.deleteChild("rotations");
|
|
60
|
+
if (value === undefined) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
new Attribute(this, "rotations", node => {
|
|
64
|
+
node.setToken("typeName", "quatf[]");
|
|
65
|
+
if (Array.isArray(value)) {
|
|
66
|
+
node.setQuatfArray("default", value);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const ts = value;
|
|
70
|
+
node.setQuatfArray("default", ts.samples[0]);
|
|
71
|
+
node.setTimeSamples("timeSamples", { ...ts, sampleType: CrateDataType.Quatf });
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Joint-local scales of all affected joints, in
|
|
77
|
+
* 16 bit precision. Array length should match the size of the *joints*
|
|
78
|
+
* attribute.
|
|
79
|
+
*/
|
|
80
|
+
set scales(value) {
|
|
81
|
+
this.deleteChild("scales");
|
|
82
|
+
if (value === undefined) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
new Attribute(this, "scales", node => {
|
|
86
|
+
node.setToken("typeName", "half3[]");
|
|
87
|
+
if (Array.isArray(value)) {
|
|
88
|
+
node.setVec3hArray("default", value);
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const ts = value;
|
|
92
|
+
node.setVec3hArray("default", ts.samples[0]);
|
|
93
|
+
node.setTimeSamples("timeSamples", { ...ts, sampleType: CrateDataType.Vec3h });
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Array of tokens identifying which blend shapes this
|
|
99
|
+
* animation's data applies to. The tokens for blendShapes correspond to
|
|
100
|
+
* the tokens set in the *skel:blendShapes* binding property of the
|
|
101
|
+
* UsdSkelBindingAPI. Note that blendShapes does not accept time-sampled
|
|
102
|
+
* values.
|
|
103
|
+
*/
|
|
104
|
+
set blendShapes(values) {
|
|
105
|
+
this.deleteChild("blendShapes");
|
|
106
|
+
if (values !== undefined) {
|
|
107
|
+
new TokenAttr(this, "blendShapes", Variability.Uniform, values);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Array of weight values for each blend shape. Each weight value
|
|
112
|
+
* is associated with the corresponding blend shape identified within the
|
|
113
|
+
* *blendShapes* token array, and therefore must have the same length as
|
|
114
|
+
* *blendShapes.
|
|
115
|
+
*/
|
|
116
|
+
set blendShapeWeights(value) {
|
|
117
|
+
this.deleteChild("blendShapeWeights");
|
|
118
|
+
if (value === undefined) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (Array.isArray(value)) {
|
|
122
|
+
new FloatArrayAttr(this, "blendShapeWeights", value);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
const ts = value;
|
|
126
|
+
new Attribute(this, "blendShapeWeights", node => {
|
|
127
|
+
node.setToken("typeName", "float[]");
|
|
128
|
+
node.setTimeSamples("timeSamples", { ...ts, sampleType: CrateDataType.Float });
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=SkelAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkelAnimation.js","sourceRoot":"","sources":["../../../src/nodes/skeleton/SkelAnimation.ts"],"names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M,EAAE,GAAG,KAAoB,CAAA;YAC/B,IAAI,SAAS,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE;gBAC5C,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,CAAA;gBACpC,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC,CAAA;YAClF,CAAC,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type { UsdNode } from "../usd/UsdNode";
|
|
2
|
-
import { Boundable } from "../geometry/Boundable";
|
|
1
|
+
import type { UsdNode } from "../usd/UsdNode.js";
|
|
2
|
+
import { Boundable } from "../geometry/Boundable.js";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Boundable prim type used to identify a scope beneath which
|
|
5
|
+
* skeletally-posed primitives are defined.
|
|
6
|
+
*
|
|
7
|
+
* A SkelRoot must be defined at or above a skinned primitive for any skinning
|
|
8
|
+
* behaviors in UsdSkel.
|
|
5
9
|
*
|
|
6
10
|
* defined in pxr/usd/usdSkel/schema.usda
|
|
7
11
|
*/
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { Specifier } from "../../crate/Specifier";
|
|
2
|
-
import { SpecType } from "../../crate/SpecType";
|
|
3
|
-
import { Boundable } from "../geometry/Boundable";
|
|
1
|
+
import { Specifier } from "../../crate/Specifier.js";
|
|
2
|
+
import { SpecType } from "../../crate/SpecType.js";
|
|
3
|
+
import { Boundable } from "../geometry/Boundable.js";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Boundable prim type used to identify a scope beneath which
|
|
6
|
+
* skeletally-posed primitives are defined.
|
|
7
|
+
*
|
|
8
|
+
* A SkelRoot must be defined at or above a skinned primitive for any skinning
|
|
9
|
+
* behaviors in UsdSkel.
|
|
6
10
|
*
|
|
7
11
|
* defined in pxr/usd/usdSkel/schema.usda
|
|
8
12
|
*/
|