Skip to content

Commit

Permalink
version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoijiichan committed Jan 13, 2020
1 parent 42760d4 commit 1f5839c
Show file tree
Hide file tree
Showing 31 changed files with 1,126 additions and 89 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [0.5.0] - 2020-01-14
- Added `light` property to VGO_nodes extension.

## [0.4.0] - 2020-01-08
- Added `gameObject` property to VGO_nodes extension.
- Added `enabled` property to collider.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"title": "node.vgo.collider",
"description": "Node collider.",
"type": "object",
"properties": {
"type": {
"description": "Type of collider.",
"type": "string",
"enum": ["Box","Capsule","Sphere"]
},
"enabled": {
"description": "Whether collider is enabled.",
"type": "boolean"
},
"isTrigger": {
"description": "Is the collider a trigger?",
"type": "boolean"
},
"center": {
"description": "The center of the collider. [x, y, z]",
"type": "array",
"items": {
"type": "number"
}
},
"size": {
"description": "The total size of the box. [x, y, z]",
"type": "array",
"items": {
"type": "number"
}
},
"radius": {
"description": "The radius of the capsule or sphere, measured in the object's local space.",
"type": "number",
"minimum": 0
},
"height": {
"description": "The height of the capsule, measured in the object's local space.",
"type": "number",
"minimum": 0
},
"direction": {
"description": "The direction of the capsule. [0:x, 1:y, 2:z]",
"type": "integer"
},
"physicMaterial": {
"$ref": "node.vgo.physicMaterial.schema.json"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"title": "node.vgo.colliders",
"description": "Node colliders.",
"type": "array",
"items": {
"$ref": "node.vgo.collider.schema.json"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "node.vgo.gameobject",
"description": "Node GameObject.",
"type": "object",
"properties": {
"isActive": {
"description": "Whether GameObject is active.",
"type": "boolean"
},
"isStatic": {
"description": "Whether GameObject is static.",
"type": "boolean"
},
"tag": {
"description": "Tag attached to GameObject.",
"type": "string"
}
"layer": {
"description": "Index of the layer where GameObject is located.",
"type": "integer",
"minimum": 0,
"maximum": 31
}
}
}
110 changes: 110 additions & 0 deletions Documentation~/VGO/specification/0.3/schema/node.vgo.light.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"title": "node.vgo.light",
"description": "Node light.",
"type": "object",
"properties": {
"enabled": {
"description": "Whether the light is enable.",
"type": "boolean",
},
"type": {
"description": "The type of the light.",
"type": "string",
"enum": ["Spot","Directional","Point","Rectangle","Disc"]
},
"shape": {
"description": "This property describes the shape of the spot light.",
"type": "string",
"enum": ["Cone","Pyramid","Box"]
},
"range": {
"description": "The range of the light.",
"type": "number",
"minimum": 0
},
"spotAngle": {
"description": "The angle of the light's spotlight cone in degrees.",
"type": "number",
"minimum": 0
},
"areaSize": {
"description": "The size of the area light. [x, y]",
"type": "array",
"items": {
"type": "number"
}
},
"areaRadius": {
"description": "The radius of the area light.",
"type": "number",
"minimum": 0
},
"color": {
"description": "The color of the light. [r, g, b, a]",
"type": "array",
"items": {
"type": "number"
}
},
"lightmapBakeType": {
"description": "This property describes what part of a light's contribution can be baked.",
"type": "string",
"enum": ["Realtime","Baked","Mixed"]
},
"intensity": {
"description": "The Intensity of a light is multiplied with the Light color.",
"type": "number",
"minimum": 0
},
"bounceIntensity": {
"description": "The multiplier that defines the strength of the bounce lighting.",
"type": "number",
"minimum": 0
},
"shadows": {
"description": "How this light casts shadows.",
"type": "string",
"enum": ["None","Hard","Soft"]
},
"shadowAngle": {
"description": "Controls the amount of artificial softening applied to the edges of shadows cast by directional lights.",
"type": "number",
"minimum": 0
},
"shadowStrength": {
"description": "Strength of light's shadows.",
"type": "number",
"minimum": 0
},
"shadowResolution": {
"description": "The resolution of the shadow map.",
"type": "string",
"enum": ["FromQualitySettings","Low","Medium","High","VeryHigh"]
},
"shadowBias": {
"description": "Shadow mapping constant bias.",
"type": "number",
"minimum": 0
},
"shadowNormalBias": {
"description": "Shadow mapping normal-based bias.",
"type": "number",
"minimum": 0
},
"shadowNearPlane": {
"description": "Near plane value to use for shadow frustums.",
"type": "number",
"minimum": 0
},
"renderMode": {
"description": "How to render the light.",
"type": "string",
"enum": ["Auto","ForcePixel","ForceVertex"]
},
"cullingMask": {
"description": "This is used to light certain objects in the Scene selectively.",
"type": "integer",
"minimum": -1
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"title": "node.vgo.physicMaterial",
"description": "Physic material.",
"type": "object",
"properties": {
"dynamicFriction": {
"description": "The friction used when already moving.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"staticFriction": {
"description": "The friction coefficient used when an object is lying on a surface.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"bounciness": {
"description": "How bouncy is the surface?",
"type": "number",
"minimum": 0,
"maximum": 1
},
"frictionCombine": {
"description": "Determines how the friction is combined.",
"type": "string",
"enum": ["Average","Multiply","Minimum","Maximum"]
},
"bounceCombine": {
"description": "Determines how the bounciness is combined.",
"type": "string",
"enum": ["Average","Multiply","Minimum","Maximum"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "node.vgo.rigidbody",
"description": "Node rigidbody.",
"type": "object",
"properties": {
"mass": {
"description": "The mass of the body. [0.0000001, 1000000000]",
"type": "number",
"minimum": 0.0000001,
"maximum": 1000000000
},
"drag": {
"description": "The linear drag coefficient. [0, infinity]",
"type": "number",
"minimum": 0
},
"angularDrag": {
"description": "The angular drag coefficient. [0, infinity]",
"type": "number",
"minimum": 0
},
"useGravity": {
"description": "Controls whether gravity affects this rigidbody.",
"type": "boolean"
},
"isKinematic": {
"description": "Controls whether physics affects the rigidbody.",
"type": "boolean"
},
"interpolation": {
"description": "Interpolation allows you to smooth out the effect of running physics at a fixed frame rate.",
"type": "string",
"enum": ["None","Interpolate","Extrapolate"]
},
"collisionDetectionMode": {
"description": "The Rigidbody's collision detection mode.",
"type": "string",
"enum": ["Discrete","Continuous","ContinuousDynamic","ContinuousSpeculative"]
},
"constraints": {
"description": "The flags to constrain motion of rigidbodies. [2|4|8|16|32|64]",
"type": "integer",
"minimum": 0,
"maximum": 126
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"title": "nodes.extensions.VGO_nodes",
"description": "Node extension for VGO.",
"type": "object",
"properties": {
"gameObject": {
"$ref": "node.vgo.gameobject.schema.json"
},
"colliders": {
"$ref": "node.vgo.colliders.schema.json"
},
"rigidbody": {
"$ref": "node.vgo.rigidbody.schema.json"
},
"light": {
"$ref": "node.vgo.light.schema.json"
},
"right": {
"$ref": "vgo.right.schema.json"
}
}
}
19 changes: 19 additions & 0 deletions Documentation~/VGO/specification/0.3/schema/vgo.meta.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "vgo.meta",
"description": "VGO meta information.",
"type": "object",
"properties": {
"generatorName": {
"description": "The VGO generator name.",
"type": "string"
},
"generatorVersion": {
"description": "The VGO generator version.",
"type": "string"
},
"specVersion": {
"description": "The VGO specification version.",
"type": "string"
}
}
}
39 changes: 39 additions & 0 deletions Documentation~/VGO/specification/0.3/schema/vgo.right.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"title": "vgo.right",
"description": "Rights information.",
"type": "object",
"properties": {
"title": {
"description": "The name of the model.",
"type": "string"
},
"author": {
"description": "The name of the model creator.",
"type": "string"
},
"organization": {
"description": "Organization to which the creator belongs.",
"type": "string"
},
"createdDate": {
"description": "The date this model was created.",
"type": "string"
},
"updatedDate": {
"description": "The date this model was updated.",
"type": "string"
},
"version": {
"description": "The version of this model.",
"type": "string"
},
"distributionUrl": {
"description": "Distribution URL for this model.",
"type": "string"
},
"licenseUrl": {
"description": "URL that describes the license for this model.",
"type": "string"
}
}
}
13 changes: 13 additions & 0 deletions Documentation~/VGO/specification/0.3/schema/vgo.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "vgo",
"description": "glTF extension for VGO.",
"type": "object",
"properties": {
"meta": {
"$ref": "vgo.meta.schema.json"
},
"right": {
"$ref": "vgo.right.schema.json"
}
}
}
Loading

0 comments on commit 1f5839c

Please sign in to comment.