-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
257 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public partial class AbstractMesh : TransformNode | ||
{ | ||
public AbstractMesh(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public class AnimationGroup : JSDisposable | ||
{ | ||
public AnimationGroup(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
internal static BlazorJSRuntime JS => BlazorJSRuntime.JS; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public class BaseParticleSystem : JSObject | ||
{ | ||
public BaseParticleSystem(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public class Geometry : JSObject | ||
{ | ||
public Geometry(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public interface IParticleSystem : IJSObject | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public class ParticleSystem : BaseParticleSystem, IParticleSystem | ||
{ | ||
public ParticleSystem(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using Microsoft.JSInterop; | ||
using SpawnDev.BlazorJS.JSObjects; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using File = SpawnDev.BlazorJS.JSObjects.File; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public static class SceneLoader | ||
{ | ||
public class SceneLoaderProgressEvent | ||
{ | ||
/// <summary> | ||
/// Defines if data length to load can be evaluated | ||
/// </summary> | ||
public bool LengthComputable { get; } | ||
/// <summary> | ||
/// Defines the loaded data length | ||
/// </summary> | ||
public long Loaded { get; } | ||
/// <summary> | ||
/// Defines the data length to load | ||
/// </summary> | ||
public long Total { get; } | ||
} | ||
public static void ImportMesh( | ||
Union<string, IEnumerable<string>> meshNames, | ||
string rootUrl, | ||
Union<string, TypedArray, File>? sceneFilename = null, | ||
Scene? scene = null, | ||
ActionCallback<Array<AbstractMesh>, Array<BaseParticleSystem>, Array<Skeleton>, Array<AnimationGroup>, Array<TransformNode>, Array<Geometry>, Array<Light>>? onSuccess = null, | ||
ActionCallback<SceneLoaderProgressEvent>? onProgress = null, | ||
ActionCallback<Scene, string, JSObject?>? onError = null, | ||
string? pluginExtension = null | ||
) | ||
=> JS.CallVoid("BABYLON.SceneLoader.ImportMesh", meshNames, rootUrl, sceneFilename, scene, onSuccess, onProgress, onError, pluginExtension); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public partial class Skeleton : JSDisposable | ||
{ | ||
public Skeleton(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SpawnDev.BlazorJS.BabylonJS6 | ||
{ | ||
public static partial class BABYLON | ||
{ | ||
public partial class TextureDome : TransformNode | ||
{ | ||
public TextureDome(IJSInProcessObjectReference _ref) : base(_ref) { } | ||
} | ||
} | ||
} |
Oops, something went wrong.