Skip to content

Commit

Permalink
chore: Build Models
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] authored and github-actions[bot] committed Jun 18, 2024
1 parent 98308ca commit e832618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions models/csharp/UrchinModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public CameraModel(string id, Vector3 position, Vector3 rotation, Vector3 target

public enum CameraMode
{
orthographic = 0,
perspective = 1,
0 = 0,
1 = 1,
}


Expand Down
2 changes: 1 addition & 1 deletion models/schemas/urchin/CameraModel.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"$defs": {"CameraMode": {"enum": ["orthographic", "perspective"], "title": "CameraMode", "type": "string"}, "Color": {"properties": {"r": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "R", "type": "number"}, "g": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "G", "type": "number"}, "b": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "B", "type": "number"}, "a": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "A", "type": "number"}}, "title": "Color", "type": "object"}, "Vector2": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}}, "title": "Vector2", "type": "object"}, "Vector3": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}, "z": {"default": 0.0, "title": "Z", "type": "number"}}, "title": "Vector3", "type": "object"}}, "properties": {"ID": {"title": "Id", "type": "string"}, "Position": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": null}, "Rotation": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": {"x": 0.0, "y": 0.0, "z": 0.0}}, "Target": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": null}, "Zoom": {"default": 16, "title": "Zoom", "type": "number"}, "Pan": {"allOf": [{"$ref": "#/$defs/Vector2"}], "default": {"x": 0.0, "y": 0.0}}, "Mode": {"allOf": [{"$ref": "#/$defs/CameraMode"}], "default": "orthographic"}, "BackgroundColor": {"allOf": [{"$ref": "#/$defs/Color"}], "default": {"r": 1.0, "g": 1.0, "b": 1.0, "a": 1.0}}, "Controllable": {"default": true, "title": "Controllable", "type": "boolean"}, "Main": {"default": false, "title": "Main", "type": "boolean"}}, "required": ["ID"], "title": "CameraModel", "type": "object"}
{"$defs": {"CameraMode": {"enum": [0, 1], "title": "CameraMode", "type": "integer"}, "Color": {"properties": {"r": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "R", "type": "number"}, "g": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "G", "type": "number"}, "b": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "B", "type": "number"}, "a": {"default": 1, "maximum": 1.0, "minimum": 0.0, "title": "A", "type": "number"}}, "title": "Color", "type": "object"}, "Vector2": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}}, "title": "Vector2", "type": "object"}, "Vector3": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}, "z": {"default": 0.0, "title": "Z", "type": "number"}}, "title": "Vector3", "type": "object"}}, "properties": {"ID": {"title": "Id", "type": "string"}, "Position": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": null}, "Rotation": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": {"x": 0.0, "y": 0.0, "z": 0.0}}, "Target": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": null}, "Zoom": {"default": 16, "title": "Zoom", "type": "number"}, "Pan": {"allOf": [{"$ref": "#/$defs/Vector2"}], "default": {"x": 0.0, "y": 0.0}}, "Mode": {"allOf": [{"$ref": "#/$defs/CameraMode"}], "default": 0}, "BackgroundColor": {"allOf": [{"$ref": "#/$defs/Color"}], "default": {"r": 1.0, "g": 1.0, "b": 1.0, "a": 1.0}}, "Controllable": {"default": true, "title": "Controllable", "type": "boolean"}, "Main": {"default": false, "title": "Main", "type": "boolean"}}, "required": ["ID"], "title": "CameraModel", "type": "object"}

0 comments on commit e832618

Please sign in to comment.