Пример #1
0
 public static FresnelParameters Parse(object parsedFresnelParameters)
 {
     return(EventHorizonBlazorInterop.FuncClass <FresnelParameters>(
                entity => new FresnelParameters()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "FresnelParameters", "Parse" }, parsedFresnelParameters
     }
                ));
 }
Пример #2
0
 public async ValueTask <Quaternion> quaternionInterpolateFunctionWithTangents(Quaternion startValue, Quaternion outTangent, Quaternion endValue, Quaternion inTangent, decimal gradient)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Quaternion>(
                entity => new Quaternion()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "quaternionInterpolateFunctionWithTangents" }, startValue, outTangent, endValue, inTangent, gradient
     }
                ));
 }
Пример #3
0
 public async ValueTask <Vector2> vector2InterpolateFunctionWithTangents(Vector2 startValue, Vector2 outTangent, Vector2 endValue, Vector2 inTangent, decimal gradient)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Vector2>(
                entity => new Vector2()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "vector2InterpolateFunctionWithTangents" }, startValue, outTangent, endValue, inTangent, gradient
     }
                ));
 }
Пример #4
0
 public async ValueTask <AnimationEvent[]> getEvents()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <AnimationEvent>(
                entity => new AnimationEvent()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getEvents" }
     }
                ));
 }
Пример #5
0
 public async ValueTask <IAnimationKeyCachedEntity[]> getKeys()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <IAnimationKeyCachedEntity>(
                entity => new IAnimationKeyCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getKeys" }
     }
                ));
 }
Пример #6
0
 public static async ValueTask <Animatable> TransitionTo(string property, object targetValue, object host, Scene scene, decimal frameRate, Animation transition, decimal duration, ActionCallback onAnimationEnd = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Animatable>(
                entity => new Animatable()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "TransitionTo" }, property, targetValue, host, scene, frameRate, transition, duration, onAnimationEnd
     }
                ));
 }
Пример #7
0
 public static async ValueTask <Animation> ParseFromFileAsync(string url, string name = null)
 {
     return(await EventHorizonBlazorInterop.TaskClass <Animation>(
                entity => new Animation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "ParseFromFileAsync" }, name, url
     }
                ));
 }
Пример #8
0
 public InstancedMesh createInstance(string name)
 {
     return(EventHorizonBlazorInterop.FuncClass <InstancedMesh>(
                entity => new InstancedMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "createInstance" }, name
     }
                ));
 }
Пример #9
0
 public AbstractMesh setVerticesData(string kind, decimal[] data, System.Nullable <bool> updatable = null, System.Nullable <decimal> stride = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AbstractMesh>(
                entity => new AbstractMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "setVerticesData" }, kind, data, updatable, stride
     }
                ));
 }
Пример #10
0
 public async ValueTask <MediaStream> captureStream(System.Nullable <decimal> fps = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <MediaStream>(
                entity => new MediaStream()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "captureStream" }, fps
     }
                ));
 }
Пример #11
0
 public async ValueTask <IActionCachedEntity> registerAction(IAction action)
 {
     return(await EventHorizonBlazorInterop.FuncClass <IActionCachedEntity>(
                entity => new IActionCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "registerAction" }, action
     }
                ));
 }
Пример #12
0
 public IActionCachedEntity then(IAction action)
 {
     return(EventHorizonBlazorInterop.FuncClass <IActionCachedEntity>(
                entity => new IActionCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "then" }, action
     }
                ));
 }
 public Viewport clone()
 {
     return(EventHorizonBlazorInterop.FuncClass <Viewport>(
                entity => new Viewport()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }
     }
                ));
 }
 public Viewport toGlobalToRef(decimal renderWidth, decimal renderHeight, Viewport @ref)
 {
     return(EventHorizonBlazorInterop.FuncClass <Viewport>(
                entity => new Viewport()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "toGlobalToRef" }, renderWidth, renderHeight, @ref
     }
                ));
 }
Пример #15
0
 public static async ValueTask <Animatable> CreateMergeAndStartAnimation(string name, Node node, string targetProperty, decimal framePerSecond, decimal totalFrame, object from, object to, System.Nullable <decimal> loopMode = null, EasingFunction easingFunction = null, ActionCallback onAnimationEnd = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Animatable>(
                entity => new Animatable()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "CreateMergeAndStartAnimation" }, name, node, targetProperty, framePerSecond, totalFrame, from, to, loopMode, easingFunction, onAnimationEnd
     }
                ));
 }
Пример #16
0
 public Mesh updateVerticesData(string kind, decimal[] data, System.Nullable <bool> updateExtends = null, System.Nullable <bool> makeItUnique = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <Mesh>(
                entity => new Mesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "updateVerticesData" }, kind, data, updateExtends, makeItUnique
     }
                ));
 }
Пример #17
0
 public static async ValueTask <Animation> MakeAnimationAdditive(Animation sourceAnimation, System.Nullable <decimal> referenceFrame = null, string range = null, System.Nullable <bool> cloneOriginal = null, string clonedName = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Animation>(
                entity => new Animation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "MakeAnimationAdditive" }, sourceAnimation, referenceFrame, range, cloneOriginal, clonedName
     }
                ));
 }
Пример #18
0
 public Mesh setIndices(decimal[] indices, System.Nullable <decimal> totalVertices = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <Mesh>(
                entity => new Mesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "setIndices" }, indices, totalVertices
     }
                ));
 }
Пример #19
0
 public static async ValueTask <Animation> Parse(object parsedAnimation)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Animation>(
                entity => new Animation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "Parse" }, parsedAnimation
     }
                ));
 }
Пример #20
0
 public InstancedMesh refreshBoundingInfo(System.Nullable <bool> applySkeleton = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <InstancedMesh>(
                entity => new InstancedMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "refreshBoundingInfo" }, applySkeleton
     }
                ));
 }
Пример #21
0
 public static async ValueTask <Animation> CreateFromSnippetAsync(string snippetId)
 {
     return(await EventHorizonBlazorInterop.TaskClass <Animation>(
                entity => new Animation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "CreateFromSnippetAsync" }, snippetId
     }
                ));
 }
Пример #22
0
 public Matrix getWorldMatrix()
 {
     return(EventHorizonBlazorInterop.FuncClass <Matrix>(
                entity => new Matrix()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getWorldMatrix" }
     }
                ));
 }
Пример #23
0
 public async ValueTask <AnimationRange> getRange(string name)
 {
     return(await EventHorizonBlazorInterop.FuncClass <AnimationRange>(
                entity => new AnimationRange()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getRange" }, name
     }
                ));
 }
Пример #24
0
 public AbstractMesh getLOD(Camera camera)
 {
     return(EventHorizonBlazorInterop.FuncClass <AbstractMesh>(
                entity => new AbstractMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getLOD" }, camera
     }
                ));
 }
Пример #25
0
 public async ValueTask <IEasingFunctionCachedEntity> getEasingFunction()
 {
     return(await EventHorizonBlazorInterop.FuncClass <IEasingFunctionCachedEntity>(
                entity => new IEasingFunctionCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getEasingFunction" }
     }
                ));
 }
Пример #26
0
 public InstancedMesh clone(string name, Node newParent = null, System.Nullable <bool> doNotCloneChildren = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <InstancedMesh>(
                entity => new InstancedMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }, name, newParent, doNotCloneChildren
     }
                ));
 }
Пример #27
0
 public async ValueTask <Vector3> vector3InterpolateFunction(Vector3 startValue, Vector3 endValue, decimal gradient)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Vector3>(
                entity => new Vector3()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "vector3InterpolateFunction" }, startValue, endValue, gradient
     }
                ));
 }
Пример #28
0
 public static async ValueTask <Animation> CreateAnimation(string property, decimal animationType, decimal framePerSecond, EasingFunction easingFunction)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Animation>(
                entity => new Animation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Animation", "CreateAnimation" }, property, animationType, framePerSecond, easingFunction
     }
                ));
 }
Пример #29
0
 public async ValueTask <Size> sizeInterpolateFunction(Size startValue, Size endValue, decimal gradient)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Size>(
                entity => new Size()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "sizeInterpolateFunction" }, startValue, endValue, gradient
     }
                ));
 }
Пример #30
0
 public FresnelParameters clone()
 {
     return(EventHorizonBlazorInterop.FuncClass <FresnelParameters>(
                entity => new FresnelParameters()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }
     }
                ));
 }