From c981904d8c5f4f384ee21402cffa3acc5a6e81b8 Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Sun, 10 Oct 2021 20:48:41 +0200 Subject: [PATCH] fix system runtimes start --- dist/r3.js | 2822 ++++++++++++++++- package.json | 2 +- r3.php | 4 +- .../r3-component-buffer-geometry.js | 109 + src/r3/r3-component/r3-component-canvas.js | 113 + src/r3/r3-component/r3-component-code.js | 91 + src/r3/r3-component/r3-component-d-o-m.js | 92 + src/r3/r3-component/r3-component-geometry.js | 91 + src/r3/r3-component/r3-component-graphics.js | 91 + src/r3/r3-component/r3-component-image.js | 125 + src/r3/r3-component/r3-component-input.js | 91 + src/r3/r3-component/r3-component-material.js | 91 + src/r3/r3-component/r3-component-mesh.js | 91 + .../r3-component-plane-geometry.js | 127 + src/r3/r3-component/r3-component-texture.js | 91 + src/r3/r3-component/r3-component-touch.js | 109 + src/r3/r3-component/r3-component.js | 73 + src/r3/r3-entity/r3-entity-slider.js | 96 + src/r3/r3-entity/r3-entity.js | 73 + src/r3/r3-graph.js | 2 +- src/r3/r3-object/r3-object.js | 55 + src/r3/r3-object/r3-project.js | 73 + src/r3/r3-runtime/r3-runtime-bullet.js | 55 + src/r3/r3-runtime/r3-runtime-code-mirror.js | 55 + src/r3/r3-runtime/r3-runtime-coder.js | 41 + src/r3/r3-runtime/r3-runtime-control-kit.js | 55 + src/r3/r3-runtime/r3-runtime-d-o-m.js | 41 + src/r3/r3-runtime/r3-runtime-g-u-i.js | 41 + src/r3/r3-runtime/r3-runtime-graphics.js | 41 + src/r3/r3-runtime/r3-runtime-image.js | 41 + src/r3/r3-runtime/r3-runtime-j-s-d-o-m.js | 55 + src/r3/r3-runtime/r3-runtime-physics.js | 41 + src/r3/r3-runtime/r3-runtime-socket.js | 41 + src/r3/r3-runtime/r3-runtime-statistics.js | 41 + src/r3/r3-runtime/r3-runtime-stats.js | 55 + src/r3/r3-runtime/r3-runtime-three.js | 55 + src/r3/r3-runtime/r3-runtime-web-d-o-m.js | 55 + src/r3/r3-system/r3-system-d-o-m.js | 37 + src/r3/r3-system/r3-system-input.js | 37 + src/r3/r3-system/r3-system-linking.js | 61 + src/r3/r3-system/r3-system-render.js | 38 +- src/r3/r3-system/r3-system-runtime.js | 45 + src/r3/r3-system/r3-system-socket.js | 37 + src/r3/r3-system/r3-system-storage.js | 37 + src/r3/r3.js | 4 +- src/templates/runtime_base.template | 4 + version | 2 +- 47 files changed, 5507 insertions(+), 20 deletions(-) diff --git a/dist/r3.js b/dist/r3.js index 7759dee..0ed38c3 100644 --- a/dist/r3.js +++ b/dist/r3.js @@ -17,12 +17,12 @@ class R3 { /** * static Version - Current R3 version */ -R3.Version = '3.0.346'; +R3.Version = '3.0.348'; /** * static CompileDate - Current compile date of R3 */ -R3.CompileDate = '2021 Oct 10 - 16:15:59 pm'; +R3.CompileDate = '2021 Oct 10 - 20:47:06 pm'; class System { @@ -47,6 +47,47 @@ System.SOCKET = 0x5; System.STORAGE = 0x6; System.MAX_SYSTEM = 0x7; +/** + + Class R3.System.DOM + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class SystemDOM extends System { constructor(options) { @@ -118,6 +159,47 @@ SystemDOM.Started = false; */ SystemDOM.Subscriptions = {}; +/** + + Class R3.System.Input + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemInput] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class SystemInput extends System { constructor(options) { @@ -371,6 +453,71 @@ SystemInput.Started = false; */ SystemInput.Subscriptions = {}; +/** + + Class R3.System.Linking + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemLinking] + + Properties: + + + + Static Properties: + + - BlacklistedComponents (Default value [] - A list of component constructors which should not be + permitted to create instances immediately) + + Methods: + + + + Static Methods: + + - SanityChecks(r3Object, property, value) + When an object gets some value assigned to a property, we need to check if this property is a required + property, and if so, the value assigned to this property needs to conform to the type restrictions enforced by + the requirements objects. + + - SetParentChildRelationships(r3Object, property, value) + When an object gets some value assigned to a property, and it is a required property, we need to ensure that + the proper parent and child relationships are maintained + + - DetermineFutureReadyState(r3Object, property, value) + When an object is assigned some value to one of its required properties, we should determine the future + 'readiness' state of this R3 Object. Only if its ready state becomes false, we need to cascade this + information to all parents forcing them to emit a Only if its ready state becomes false, we force all parents + to emit a READY_STATE_PENDING_FALSE event. + + - CascadeFutureReadyState(r3Object, readyState) + We start at the current node - emit READY_STATE_PENDING_FALSE event, afterwards calling asking all parents to + emit a READY_STATE_PENDING_FALSE event. This allows the SystemLinking to stop Entities before the cleanup + occurs. + + - CascadeActualReadyState(r3Object) + We start at the current node, determine its current ready state (it triggers the appropriate events), + afterwards we work from the first parent upwards, determining it's ready state, taking appropriate action and + cascading upwards. + + **/ + class SystemLinking extends System { constructor(options) { @@ -1082,6 +1229,47 @@ SystemLinking.Subscriptions = {}; */ SystemLinking.BlacklistedComponents = []; +/** + + Class R3.System.Render + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemRender] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class SystemRender extends System { constructor(options) { @@ -1138,19 +1326,15 @@ class SystemRender extends System { */ static OnInstanceCreated(object) { - if (object instanceof ComponentDOM) { - if (object.runtime instanceof RuntimeDocument) { + if ( + object instanceof ComponentDOM || + object instanceof ComponentImage + ) { + if (object.runtime instanceof RuntimeWebDOM) { document.body.appendChild(object.instance); } } - if (object instanceof ComponentImage) { - if (object.runtime instanceof RuntimeWebImage) { - document.body.appendChild(object.instance); - } - } - - } } @@ -1166,6 +1350,55 @@ SystemRender.Started = false; */ SystemRender.Subscriptions = {}; +/** + + Class R3.System.Runtime + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemRuntime] + + Properties: + + + + Static Properties: + + - Projects (Default value []) + - CurrentProject (Default value null) + - ServerSide (Default value (typeof process !) + - RuntimeCoder (Default value {}) + - RuntimeDOM (Default value {}) + - RuntimeGUI (Default value {}) + - RuntimeGraphics (Default value {}) + - RuntimePhysics (Default value {}) + - RuntimeStatistics (Default value {}) + + Methods: + + + + Static Methods: + + + + **/ + class SystemRuntime extends System { constructor(options) { @@ -1395,6 +1628,47 @@ SystemRuntime.RuntimePhysics = {}; */ SystemRuntime.RuntimeStatistics = {}; +/** + + Class R3.System.Socket + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemSocket] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class SystemSocket extends System { constructor(options) { @@ -1448,6 +1722,47 @@ SystemSocket.Started = false; */ SystemSocket.Subscriptions = {}; +/** + + Class R3.System.Storage + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemStorage] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class SystemStorage extends System { constructor(options) { @@ -1557,6 +1872,47 @@ Runtime.THREE = 0xc; Runtime.BULLET = 0xd; Runtime.STATS = 0xe; +/** + + Class R3.Runtime.Coder + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeCoder] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeCoder extends Runtime { constructor(options) { @@ -1581,6 +1937,65 @@ class RuntimeCoder extends Runtime { } +/** + + Class R3.Runtime.Coder.CodeMirror + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeCoder] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeCodeMirror] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeCodeMirror extends RuntimeCoder { constructor(options) { @@ -1606,6 +2021,47 @@ class RuntimeCodeMirror extends RuntimeCoder { } +/** + + Class R3.Runtime.DOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeDOM extends Runtime { constructor(options) { @@ -1630,6 +2086,65 @@ class RuntimeDOM extends Runtime { } +/** + + Class R3.Runtime.DOM.JSDOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeDOM] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeJSDOM] + + Properties: + + - dom (Default value new JSDOM(`

R3 NodeJS DOM

`);) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeJSDOM extends RuntimeDOM { constructor(options) { @@ -1670,6 +2185,65 @@ class RuntimeJSDOM extends RuntimeDOM { } +/** + + Class R3.Runtime.DOM.WebDOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeDOM] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeWebDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeWebDOM extends RuntimeDOM { constructor(options) { @@ -1710,6 +2284,47 @@ class RuntimeWebDOM extends RuntimeDOM { } +/** + + Class R3.Runtime.GUI + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeGUI] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeGUI extends Runtime { constructor(options) { @@ -1734,6 +2349,65 @@ class RuntimeGUI extends Runtime { } +/** + + Class R3.Runtime.GUI.ControlKit + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeGUI] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeControlKit] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeControlKit extends RuntimeGUI { constructor(options) { @@ -1759,6 +2433,47 @@ class RuntimeControlKit extends RuntimeGUI { } +/** + + Class R3.Runtime.Graphics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeGraphics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeGraphics extends Runtime { constructor(options) { @@ -1783,6 +2498,65 @@ class RuntimeGraphics extends Runtime { } +/** + + Class R3.Runtime.Graphics.Three + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeGraphics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeThree] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeThree extends RuntimeGraphics { constructor(options) { @@ -1808,6 +2582,47 @@ class RuntimeThree extends RuntimeGraphics { } +/** + + Class R3.Runtime.Image + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeImage] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeImage extends Runtime { constructor(options) { @@ -1832,6 +2647,47 @@ class RuntimeImage extends Runtime { } +/** + + Class R3.Runtime.Physics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimePhysics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimePhysics extends Runtime { constructor(options) { @@ -1856,6 +2712,65 @@ class RuntimePhysics extends Runtime { } +/** + + Class R3.Runtime.Physics.Bullet + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimePhysics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeBullet] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeBullet extends RuntimePhysics { constructor(options) { @@ -1881,6 +2796,47 @@ class RuntimeBullet extends RuntimePhysics { } +/** + + Class R3.Runtime.Socket + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeSocket] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeSocket extends Runtime { constructor(options) { @@ -1905,6 +2861,47 @@ class RuntimeSocket extends Runtime { } +/** + + Class R3.Runtime.Statistics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeStatistics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeStatistics extends Runtime { constructor(options) { @@ -1929,6 +2926,65 @@ class RuntimeStatistics extends Runtime { } +/** + + Class R3.Runtime.Statistics.Stats + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeStatistics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeStats] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class RuntimeStats extends RuntimeStatistics { constructor(options) { @@ -2295,6 +3351,65 @@ Event.GetEventName = function(eventId) { }; +/** + + Class R3.Event.Object + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Belonging to R3Object] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class R3Object extends Event { constructor(options) { @@ -2559,6 +3674,83 @@ R3Object.READY_STATE_PENDING_FALSE = 0x2; R3Object.READY_STATE_PENDING_TRUE = 0x3; R3Object.READY_STATE_TRUE = 0x4; +/** + + Class R3.Event.Object.Project + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Project] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class Project extends R3Object { constructor(options) { @@ -2617,6 +3809,83 @@ class Project extends R3Object { } +/** + + Class R3.Event.Object.Entity + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Entity] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class Entity extends R3Object { constructor(options) { @@ -2676,6 +3945,102 @@ Entity.MAX_ENTITY = 0x1; /** + Class R3.Event.Object.Entity.Slider + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Entity] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to EntitySlider] + + Properties: + + - canvas (Default value null - The Canvas Component to which this entity binds its custom code + components) + - touch (Default value null - The slider component reacts to TOUCH Events, for this a touch + component is required) + - images (Default value [] - The Image Components which will be used to slide from one image to the + next) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + [0]images=[ComponentImage] - We need a list of at least one Image which to slide [0]canvas=ComponentCanvas - We need a Canvas to attach our Input events [0]touch=ComponentTouch - We need a Touch Component to respond to TOUCH Events @@ -3025,6 +4390,83 @@ class EntitySlider extends Entity { } +/** + + Class R3.Event.Object.Component + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Component] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class Component extends R3Object { constructor(options) { @@ -3173,6 +4615,101 @@ Component.MESH = 0xb; Component.TEXTURE = 0xc; Component.MAX_COMPONENT = 0xd; +/** + + Class R3.Event.Object.Component.Code + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentCode] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentCode extends Component { constructor(options) { @@ -3264,6 +4801,102 @@ class ComponentCode extends Component { } +/** + + Class R3.Event.Object.Component.DOM + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentDOM] + + Properties: + + - instance (Default value null - Holds the current instance of this object as determined (built) by + the runtime object.) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentDOM extends Component { constructor(options) { @@ -3394,6 +5027,123 @@ class ComponentDOM extends Component { } +/** + + Class R3.Event.Object.Component.DOM.Canvas + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentDOM] + + Inherited Properties: + + - instance (Default value null - Holds the current instance of this object as determined (built) by + the runtime object.) + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentCanvas] + + Properties: + + - type (Default value 'canvas') + - width (Default value 500 - The initial width of the canvas (You can override it with CSS)) + - height (Default value 500 - The initial height of the canvas (You can override it with CSS)) + - style (Default value 'border:1px solid #00bb00;') + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentCanvas extends ComponentDOM { constructor(options) { @@ -3598,6 +5348,101 @@ class ComponentCanvas extends ComponentDOM { } +/** + + Class R3.Event.Object.Component.Geometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentGeometry extends Component { constructor(options) { @@ -3689,6 +5534,119 @@ class ComponentGeometry extends Component { } +/** + + Class R3.Event.Object.Component.Geometry.BufferGeometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentBufferGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentBufferGeometry extends ComponentGeometry { constructor(options) { @@ -3780,6 +5738,137 @@ class ComponentBufferGeometry extends ComponentGeometry { } +/** + + Class R3.Event.Object.Component.Geometry.BufferGeometry.PlaneGeometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentBufferGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentPlaneGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentPlaneGeometry extends ComponentBufferGeometry { constructor(options) { @@ -3871,6 +5960,101 @@ class ComponentPlaneGeometry extends ComponentBufferGeometry { } +/** + + Class R3.Event.Object.Component.Graphics + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentGraphics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentGraphics extends Component { constructor(options) { @@ -3964,6 +6148,135 @@ class ComponentGraphics extends Component { } +/** + + Class R3.Event.Object.Component.Graphics.Image + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGraphics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentImage] + + Properties: + + - src (Default value + 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSotDu0g4pChumhBVMRRq1CECqFWaNXB5NIvaNKQpLg4Cq4FBz8Wqw4uzro6uAqC4AeIm5uToouU+L+k0CLWg+N+vLv3uHsHCPUy06yucUDTbTOViIuZ7KoYeEUvwgghgFGZWcacJCXRcXzdw8fXuxjP6nzuzxFScxYDfCLxLDNMm3iDeHrTNjjvE0dYUVaJz4nHTLog8SPXFY/fOBdcFnhmxEyn5okjxGKhjZU2ZkVTI54ijqqaTvlCxmOV8xZnrVxlzXvyFwZz+soy12kOIYFFLEGCCAVVlFCGjRitOikWUrQf7+AfdP0SuRRylcDIsYAKNMiuH/wPfndr5ScnvKRgHOh+cZyPYSCwCzRqjvN97DiNE8D/DFzpLX+lDsx8kl5radEjoH8buLhuacoecLkDDDwZsim7kp+mkM8D72f0TVkgfAv0rXm9Nfdx+gCkqavkDXBwCIwUKHu9w7t72nv790yzvx9QEXKZwXQv9wAAAAZiS0dEADIANAAxUB4d7wAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+UJEw0JHX/9/lIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12Ng+M+gBgADKAEm2Ka93QAAAABJRU5ErkJggg) + - alt (Default value '15% opaque 1x1 green pixel' - The alt attribute of this image) + - fileName (Default value Utils.LowerUnderscore(options.name) - Name of the image under which it is + stored) + - extension (Default value '.png' - Extension of the file name including the '.' (ex. '.jpg')) + - external_path (Default value '/images/' + options.id + '.png' - Path to the image relative to the + project defined API URL) + - internal_path (Default value '/tmp/' + options.id + '.png' - Server side path on the server to the + file, excluding filename) + - contentType (Default value 'image/png' - Content type of the file (based on the extension, ex. + 'image/jpeg')) + - size (Default value 565 - Size of the file in bytes) + - width (Default value 1 - Width of the image in pixels) + - height (Default value 1 - height of the image in pixels) + - orientation (Default value 'square' - The orientation of the image, one of 'square', 'landscape', + 'portrait') + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentImage extends ComponentGraphics { constructor(options) { @@ -4374,6 +6687,101 @@ class ComponentImage extends ComponentGraphics { } +/** + + Class R3.Event.Object.Component.Input + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentInput] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentInput extends Component { constructor(options) { @@ -4469,6 +6877,115 @@ class ComponentInput extends Component { /** + Class R3.Event.Object.Component.Input.Touch + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentInput] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentTouch] + + Properties: + + - domComponent (Default value null - A Touch Component requires a Canvas component to bind to.) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + [0]domComponent=ComponentDOM **/ @@ -4649,6 +7166,101 @@ class ComponentTouch extends ComponentInput { } +/** + + Class R3.Event.Object.Component.Material + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentMaterial] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentMaterial extends Component { constructor(options) { @@ -4742,6 +7354,97 @@ class ComponentMaterial extends Component { /** + Class R3.Event.Object.Component.Mesh + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentMesh] + + Properties: + + - material (Default value null) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + [0]material=ComponentMaterial [0]geometry=ComponentGeometry [1]material=[ComponentMaterial] @@ -5055,6 +7758,101 @@ class ComponentMesh extends Component { } +/** + + Class R3.Event.Object.Component.Texture + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentTexture] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + **/ + class ComponentTexture extends Component { constructor(options) { @@ -5244,7 +8042,7 @@ class Graph { * Step 3. If open[] is empty - exit with failure */ if (this.open.length === 0) { - console.log('open[] is empty'); + // console.log('open[] is empty'); return false; } diff --git a/package.json b/package.json index 01daf31..bc4a94f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "r3", - "version": "3.0.346", + "version": "3.0.348", "description": "", "private": true, "dependencies": { diff --git a/r3.php b/r3.php index 0779aac..06eace6 100755 --- a/r3.php +++ b/r3.php @@ -2203,8 +2203,8 @@ if ($argv[2] == 'build-dist') { */ foreach ($files as $file) { - echo $argc; -// generateInherited($file, $restoreTokens); +// echo $argc; + generateInherited($file, $restoreTokens); } diff --git a/src/r3/r3-component/r3-component-buffer-geometry.js b/src/r3/r3-component/r3-component-buffer-geometry.js index 8fc9c51..4f791e6 100644 --- a/src/r3/r3-component/r3-component-buffer-geometry.js +++ b/src/r3/r3-component/r3-component-buffer-geometry.js @@ -13,6 +13,115 @@ const ComponentGeometry = require('./r3-component-geometry.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Geometry.BufferGeometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentBufferGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-canvas.js b/src/r3/r3-component/r3-component-canvas.js index 80337fe..cb545b3 100644 --- a/src/r3/r3-component/r3-component-canvas.js +++ b/src/r3/r3-component/r3-component-canvas.js @@ -13,6 +13,119 @@ const ComponentDOM = require('./r3-component-d-o-m.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.DOM.Canvas + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentDOM] + + Inherited Properties: + + - instance (Default value null - Holds the current instance of this object as determined (built) by + the runtime object.) + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentCanvas] + + Properties: + + - type (Default value 'canvas') + - width (Default value 500 - The initial width of the canvas (You can override it with CSS)) + - height (Default value 500 - The initial height of the canvas (You can override it with CSS)) + - style (Default value 'border:1px solid #00bb00;') + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-code.js b/src/r3/r3-component/r3-component-code.js index 04ade69..e0b2207 100644 --- a/src/r3/r3-component/r3-component-code.js +++ b/src/r3/r3-component/r3-component-code.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Code + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentCode] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-d-o-m.js b/src/r3/r3-component/r3-component-d-o-m.js index e4c8b7d..1254819 100644 --- a/src/r3/r3-component/r3-component-d-o-m.js +++ b/src/r3/r3-component/r3-component-d-o-m.js @@ -12,6 +12,98 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.DOM + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentDOM] + + Properties: + + - instance (Default value null - Holds the current instance of this object as determined (built) by + the runtime object.) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-geometry.js b/src/r3/r3-component/r3-component-geometry.js index 7e208ab..9bbcd91 100644 --- a/src/r3/r3-component/r3-component-geometry.js +++ b/src/r3/r3-component/r3-component-geometry.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Geometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-graphics.js b/src/r3/r3-component/r3-component-graphics.js index ee1fe04..b1844d2 100644 --- a/src/r3/r3-component/r3-component-graphics.js +++ b/src/r3/r3-component/r3-component-graphics.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Graphics + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentGraphics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-image.js b/src/r3/r3-component/r3-component-image.js index dbaffeb..bdb0936 100644 --- a/src/r3/r3-component/r3-component-image.js +++ b/src/r3/r3-component/r3-component-image.js @@ -14,6 +14,131 @@ const ComponentGraphics = require('./r3-component-graphics.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Graphics.Image + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGraphics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentImage] + + Properties: + + - src (Default value + 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSotDu0g4pChumhBVMRRq1CECqFWaNXB5NIvaNKQpLg4Cq4FBz8Wqw4uzro6uAqC4AeIm5uToouU+L+k0CLWg+N+vLv3uHsHCPUy06yucUDTbTOViIuZ7KoYeEUvwgghgFGZWcacJCXRcXzdw8fXuxjP6nzuzxFScxYDfCLxLDNMm3iDeHrTNjjvE0dYUVaJz4nHTLog8SPXFY/fOBdcFnhmxEyn5okjxGKhjZU2ZkVTI54ijqqaTvlCxmOV8xZnrVxlzXvyFwZz+soy12kOIYFFLEGCCAVVlFCGjRitOikWUrQf7+AfdP0SuRRylcDIsYAKNMiuH/wPfndr5ScnvKRgHOh+cZyPYSCwCzRqjvN97DiNE8D/DFzpLX+lDsx8kl5radEjoH8buLhuacoecLkDDDwZsim7kp+mkM8D72f0TVkgfAv0rXm9Nfdx+gCkqavkDXBwCIwUKHu9w7t72nv790yzvx9QEXKZwXQv9wAAAAZiS0dEADIANAAxUB4d7wAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+UJEw0JHX/9/lIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12Ng+M+gBgADKAEm2Ka93QAAAABJRU5ErkJggg) + - alt (Default value '15% opaque 1x1 green pixel' - The alt attribute of this image) + - fileName (Default value Utils.LowerUnderscore(options.name) - Name of the image under which it is + stored) + - extension (Default value '.png' - Extension of the file name including the '.' (ex. '.jpg')) + - external_path (Default value '/images/' + options.id + '.png' - Path to the image relative to the + project defined API URL) + - internal_path (Default value '/tmp/' + options.id + '.png' - Server side path on the server to the + file, excluding filename) + - contentType (Default value 'image/png' - Content type of the file (based on the extension, ex. + 'image/jpeg')) + - size (Default value 565 - Size of the file in bytes) + - width (Default value 1 - Width of the image in pixels) + - height (Default value 1 - height of the image in pixels) + - orientation (Default value 'square' - The orientation of the image, one of 'square', 'landscape', + 'portrait') + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-input.js b/src/r3/r3-component/r3-component-input.js index 3d7e0b1..4375ba1 100644 --- a/src/r3/r3-component/r3-component-input.js +++ b/src/r3/r3-component/r3-component-input.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Input + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentInput] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-material.js b/src/r3/r3-component/r3-component-material.js index 68d5998..1344815 100644 --- a/src/r3/r3-component/r3-component-material.js +++ b/src/r3/r3-component/r3-component-material.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Material + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentMaterial] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-mesh.js b/src/r3/r3-component/r3-component-mesh.js index 42ebb1f..a12c16a 100644 --- a/src/r3/r3-component/r3-component-mesh.js +++ b/src/r3/r3-component/r3-component-mesh.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Mesh + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentMesh] + + Properties: + + - material (Default value null) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-plane-geometry.js b/src/r3/r3-component/r3-component-plane-geometry.js index 3a245e3..795912c 100644 --- a/src/r3/r3-component/r3-component-plane-geometry.js +++ b/src/r3/r3-component/r3-component-plane-geometry.js @@ -13,6 +13,133 @@ const ComponentBufferGeometry = require('./r3-component-buffer-geometry.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Geometry.BufferGeometry.PlaneGeometry + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentBufferGeometry] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentPlaneGeometry] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-texture.js b/src/r3/r3-component/r3-component-texture.js index 6858f27..71da96d 100644 --- a/src/r3/r3-component/r3-component-texture.js +++ b/src/r3/r3-component/r3-component-texture.js @@ -12,6 +12,97 @@ const Event = require('../r3-event.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Texture + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentTexture] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component-touch.js b/src/r3/r3-component/r3-component-touch.js index eb6c68d..861e279 100644 --- a/src/r3/r3-component/r3-component-touch.js +++ b/src/r3/r3-component/r3-component-touch.js @@ -14,6 +14,115 @@ const ComponentInput = require('./r3-component-input.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component.Input.Touch + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Component] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from ComponentInput] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to ComponentTouch] + + Properties: + + - domComponent (Default value null - A Touch Component requires a Canvas component to bind to.) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-component/r3-component.js b/src/r3/r3-component/r3-component.js index c56b416..f62f59b 100644 --- a/src/r3/r3-component/r3-component.js +++ b/src/r3/r3-component/r3-component.js @@ -12,6 +12,79 @@ const R3Object = require('../r3-object/r3-object.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Component + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Component] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-entity/r3-entity-slider.js b/src/r3/r3-entity/r3-entity-slider.js index 6a5a893..2654f48 100644 --- a/src/r3/r3-entity/r3-entity-slider.js +++ b/src/r3/r3-entity/r3-entity-slider.js @@ -15,6 +15,102 @@ const Entity = require('./r3-entity.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Entity.Slider + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from Entity] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to EntitySlider] + + Properties: + + - canvas (Default value null - The Canvas Component to which this entity binds its custom code + components) + - touch (Default value null - The slider component reacts to TOUCH Events, for this a touch + component is required) + - images (Default value [] - The Image Components which will be used to slide from one image to the + next) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-entity/r3-entity.js b/src/r3/r3-entity/r3-entity.js index c0d4571..fcee3a8 100644 --- a/src/r3/r3-entity/r3-entity.js +++ b/src/r3/r3-entity/r3-entity.js @@ -12,6 +12,79 @@ const R3Object = require('../r3-object/r3-object.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Entity + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Entity] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-graph.js b/src/r3/r3-graph.js index c41742c..34c7602 100644 --- a/src/r3/r3-graph.js +++ b/src/r3/r3-graph.js @@ -181,7 +181,7 @@ class Graph { * Step 3. If open[] is empty - exit with failure */ if (this.open.length === 0) { - console.log('open[] is empty'); + // console.log('open[] is empty'); return false; } diff --git a/src/r3/r3-object/r3-object.js b/src/r3/r3-object/r3-object.js index 1a80c87..40b7a44 100644 --- a/src/r3/r3-object/r3-object.js +++ b/src/r3/r3-object/r3-object.js @@ -13,6 +13,61 @@ const Utils = require('.././r3-utils'); GENERATED_INHERITED_START + Class R3.Event.Object + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Belonging to R3Object] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-object/r3-project.js b/src/r3/r3-object/r3-project.js index 70278c7..28ffcd7 100644 --- a/src/r3/r3-object/r3-project.js +++ b/src/r3/r3-object/r3-project.js @@ -14,6 +14,79 @@ const R3Object = require('./r3-object.js'); GENERATED_INHERITED_START + Class R3.Event.Object.Project + [Inherited from Event] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + - async(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Async()' passing it the arguments + + - emit(eventId, data, clientCallback, clientErrorCallback) + Simply calls 'Emit()' passing it the arguments + + - subscribe(eventId, callback) + Simply calls 'Subscribe()' passing it the arguments + + Inherited Static Methods: + + - Async(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data, clientCallback and clientErrorCallback as + arguments. If an error occurs during clientCallback it additionally will execute clientErrorCallback with the + error as argument. + + - Emit(eventId, data, clientCallback, clientErrorCallback) + Calls all subscription functions registered to eventId with data as arg. Calls clientCallback directly after + the event result is obtained, passing it the result. If an exception occurs during execution, the + clientErrorCallback is called with the error as argument. + + - Subscribe(eventId, callback) + Subscribes to 'eventName', ex. Event.BEFORE_RENDER and executes 'callback()' when eventName is raised + + [Inherited from R3Object] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to Project] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-bullet.js b/src/r3/r3-runtime/r3-runtime-bullet.js index 1a9a6f7..6ab2986 100644 --- a/src/r3/r3-runtime/r3-runtime-bullet.js +++ b/src/r3/r3-runtime/r3-runtime-bullet.js @@ -12,6 +12,61 @@ const RuntimePhysics = require('./r3-runtime-physics.js'); GENERATED_INHERITED_START + Class R3.Runtime.Physics.Bullet + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimePhysics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeBullet] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-code-mirror.js b/src/r3/r3-runtime/r3-runtime-code-mirror.js index 9695c7f..aee18d7 100644 --- a/src/r3/r3-runtime/r3-runtime-code-mirror.js +++ b/src/r3/r3-runtime/r3-runtime-code-mirror.js @@ -12,6 +12,61 @@ const RuntimeCoder = require('./r3-runtime-coder.js'); GENERATED_INHERITED_START + Class R3.Runtime.Coder.CodeMirror + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeCoder] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeCodeMirror] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-coder.js b/src/r3/r3-runtime/r3-runtime-coder.js index 4f5d6a5..7d7f076 100644 --- a/src/r3/r3-runtime/r3-runtime-coder.js +++ b/src/r3/r3-runtime/r3-runtime-coder.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Coder + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeCoder] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-control-kit.js b/src/r3/r3-runtime/r3-runtime-control-kit.js index 62f0b46..4753301 100644 --- a/src/r3/r3-runtime/r3-runtime-control-kit.js +++ b/src/r3/r3-runtime/r3-runtime-control-kit.js @@ -12,6 +12,61 @@ const RuntimeGUI = require('./r3-runtime-g-u-i.js'); GENERATED_INHERITED_START + Class R3.Runtime.GUI.ControlKit + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeGUI] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeControlKit] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-d-o-m.js b/src/r3/r3-runtime/r3-runtime-d-o-m.js index 8b3f2ea..2f59725 100644 --- a/src/r3/r3-runtime/r3-runtime-d-o-m.js +++ b/src/r3/r3-runtime/r3-runtime-d-o-m.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.DOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-g-u-i.js b/src/r3/r3-runtime/r3-runtime-g-u-i.js index 7e2a03c..a133ce6 100644 --- a/src/r3/r3-runtime/r3-runtime-g-u-i.js +++ b/src/r3/r3-runtime/r3-runtime-g-u-i.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.GUI + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeGUI] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-graphics.js b/src/r3/r3-runtime/r3-runtime-graphics.js index e55f8f8..0c192d1 100644 --- a/src/r3/r3-runtime/r3-runtime-graphics.js +++ b/src/r3/r3-runtime/r3-runtime-graphics.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Graphics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeGraphics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-image.js b/src/r3/r3-runtime/r3-runtime-image.js index 3636208..2f07d95 100644 --- a/src/r3/r3-runtime/r3-runtime-image.js +++ b/src/r3/r3-runtime/r3-runtime-image.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Image + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeImage] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-j-s-d-o-m.js b/src/r3/r3-runtime/r3-runtime-j-s-d-o-m.js index ea656c4..2b7383a 100644 --- a/src/r3/r3-runtime/r3-runtime-j-s-d-o-m.js +++ b/src/r3/r3-runtime/r3-runtime-j-s-d-o-m.js @@ -15,6 +15,61 @@ const RuntimeDOM = require('./r3-runtime-d-o-m.js'); GENERATED_INHERITED_START + Class R3.Runtime.DOM.JSDOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeDOM] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeJSDOM] + + Properties: + + - dom (Default value new JSDOM(`

R3 NodeJS DOM

`);) + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-physics.js b/src/r3/r3-runtime/r3-runtime-physics.js index d900ff8..223e953 100644 --- a/src/r3/r3-runtime/r3-runtime-physics.js +++ b/src/r3/r3-runtime/r3-runtime-physics.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Physics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimePhysics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-socket.js b/src/r3/r3-runtime/r3-runtime-socket.js index 10d4d82..748a331 100644 --- a/src/r3/r3-runtime/r3-runtime-socket.js +++ b/src/r3/r3-runtime/r3-runtime-socket.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Socket + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeSocket] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-statistics.js b/src/r3/r3-runtime/r3-runtime-statistics.js index ead93be..db500f1 100644 --- a/src/r3/r3-runtime/r3-runtime-statistics.js +++ b/src/r3/r3-runtime/r3-runtime-statistics.js @@ -9,6 +9,47 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + Class R3.Runtime.Statistics + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeStatistics] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/src/r3/r3-runtime/r3-runtime-stats.js b/src/r3/r3-runtime/r3-runtime-stats.js index 3aad1e4..6762544 100644 --- a/src/r3/r3-runtime/r3-runtime-stats.js +++ b/src/r3/r3-runtime/r3-runtime-stats.js @@ -12,6 +12,61 @@ const RuntimeStatistics = require('./r3-runtime-statistics.js'); GENERATED_INHERITED_START + Class R3.Runtime.Statistics.Stats + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeStatistics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeStats] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-three.js b/src/r3/r3-runtime/r3-runtime-three.js index ca2a6a4..4872662 100644 --- a/src/r3/r3-runtime/r3-runtime-three.js +++ b/src/r3/r3-runtime/r3-runtime-three.js @@ -12,6 +12,61 @@ const RuntimeGraphics = require('./r3-runtime-graphics.js'); GENERATED_INHERITED_START + Class R3.Runtime.Graphics.Three + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeGraphics] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeThree] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-runtime/r3-runtime-web-d-o-m.js b/src/r3/r3-runtime/r3-runtime-web-d-o-m.js index 284b803..46619b0 100644 --- a/src/r3/r3-runtime/r3-runtime-web-d-o-m.js +++ b/src/r3/r3-runtime/r3-runtime-web-d-o-m.js @@ -14,6 +14,61 @@ const RuntimeDOM = require('./r3-runtime-d-o-m.js'); GENERATED_INHERITED_START + Class R3.Runtime.DOM.WebDOM + [Inherited from Runtime] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Inherited from RuntimeDOM] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to RuntimeWebDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-d-o-m.js b/src/r3/r3-system/r3-system-d-o-m.js index 4e3454b..0c2f063 100644 --- a/src/r3/r3-system/r3-system-d-o-m.js +++ b/src/r3/r3-system/r3-system-d-o-m.js @@ -11,6 +11,43 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.DOM + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemDOM] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-input.js b/src/r3/r3-system/r3-system-input.js index 27182e5..4e1b4bb 100644 --- a/src/r3/r3-system/r3-system-input.js +++ b/src/r3/r3-system/r3-system-input.js @@ -11,6 +11,43 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Input + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemInput] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-linking.js b/src/r3/r3-system/r3-system-linking.js index 182dd40..6f0c45d 100644 --- a/src/r3/r3-system/r3-system-linking.js +++ b/src/r3/r3-system/r3-system-linking.js @@ -17,6 +17,67 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Linking + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemLinking] + + Properties: + + + + Static Properties: + + - BlacklistedComponents (Default value [] - A list of component constructors which should not be + permitted to create instances immediately) + + Methods: + + + + Static Methods: + + - SanityChecks(r3Object, property, value) + When an object gets some value assigned to a property, we need to check if this property is a required + property, and if so, the value assigned to this property needs to conform to the type restrictions enforced by + the requirements objects. + + - SetParentChildRelationships(r3Object, property, value) + When an object gets some value assigned to a property, and it is a required property, we need to ensure that + the proper parent and child relationships are maintained + + - DetermineFutureReadyState(r3Object, property, value) + When an object is assigned some value to one of its required properties, we should determine the future + 'readiness' state of this R3 Object. Only if its ready state becomes false, we need to cascade this + information to all parents forcing them to emit a Only if its ready state becomes false, we force all parents + to emit a READY_STATE_PENDING_FALSE event. + + - CascadeFutureReadyState(r3Object, readyState) + We start at the current node - emit READY_STATE_PENDING_FALSE event, afterwards calling asking all parents to + emit a READY_STATE_PENDING_FALSE event. This allows the SystemLinking to stop Entities before the cleanup + occurs. + + - CascadeActualReadyState(r3Object) + We start at the current node, determine its current ready state (it triggers the appropriate events), + afterwards we work from the first parent upwards, determining it's ready state, taking appropriate action and + cascading upwards. + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-render.js b/src/r3/r3-system/r3-system-render.js index b7d45c6..a3a8a73 100644 --- a/src/r3/r3-system/r3-system-render.js +++ b/src/r3/r3-system/r3-system-render.js @@ -14,6 +14,43 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Render + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemRender] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START @@ -177,7 +214,6 @@ class SystemRender extends System { document.body.appendChild(object.instance); } } - //CUSTOM_STATIC_ON_INSTANCE_CREATED_METHOD_END } diff --git a/src/r3/r3-system/r3-system-runtime.js b/src/r3/r3-system/r3-system-runtime.js index 5e8be5d..a002b30 100644 --- a/src/r3/r3-system/r3-system-runtime.js +++ b/src/r3/r3-system/r3-system-runtime.js @@ -18,6 +18,51 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Runtime + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemRuntime] + + Properties: + + + + Static Properties: + + - Projects (Default value []) + - CurrentProject (Default value null) + - ServerSide (Default value (typeof process !) + - RuntimeCoder (Default value {}) + - RuntimeDOM (Default value {}) + - RuntimeGUI (Default value {}) + - RuntimeGraphics (Default value {}) + - RuntimePhysics (Default value {}) + - RuntimeStatistics (Default value {}) + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-socket.js b/src/r3/r3-system/r3-system-socket.js index 256adeb..469dd07 100644 --- a/src/r3/r3-system/r3-system-socket.js +++ b/src/r3/r3-system/r3-system-socket.js @@ -11,6 +11,43 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Socket + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemSocket] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3-system/r3-system-storage.js b/src/r3/r3-system/r3-system-storage.js index 1bd0dc7..7360142 100644 --- a/src/r3/r3-system/r3-system-storage.js +++ b/src/r3/r3-system/r3-system-storage.js @@ -11,6 +11,43 @@ const System = require('./r3-system.js'); GENERATED_INHERITED_START + Class R3.System.Storage + [Inherited from System] + + Inherited Properties: + + + + Inherited Static Properties: + + + + Inherited Methods: + + + + Inherited Static Methods: + + + + [Belonging to SystemStorage] + + Properties: + + + + Static Properties: + + + + Methods: + + + + Static Methods: + + + GENERATED_INHERITED_END TEMPLATE_OPTIONS_START diff --git a/src/r3/r3.js b/src/r3/r3.js index 6731448..af13ff4 100644 --- a/src/r3/r3.js +++ b/src/r3/r3.js @@ -90,12 +90,12 @@ class R3 { /** * static Version - Current R3 version */ -R3.Version = '3.0.346'; +R3.Version = '3.0.348'; /** * static CompileDate - Current compile date of R3 */ -R3.CompileDate = '2021 Oct 10 - 16:15:59 pm'; +R3.CompileDate = '2021 Oct 10 - 20:47:06 pm'; //GENERATED_STATIC_OPTIONS_INIT_END diff --git a/src/templates/runtime_base.template b/src/templates/runtime_base.template index 08e353e..db4ff91 100644 --- a/src/templates/runtime_base.template +++ b/src/templates/runtime_base.template @@ -9,6 +9,10 @@ const Runtime = require('./r3-runtime.js'); /** + GENERATED_INHERITED_START + + GENERATED_INHERITED_END + TEMPLATE_OPTIONS_START name=this.constructor.name - Name of the runtime TEMPLATE_OPTIONS_END diff --git a/version b/version index 1f89cf2..ab1091b 100644 --- a/version +++ b/version @@ -1 +1 @@ -3.0.346 \ No newline at end of file +3.0.348 \ No newline at end of file