public T removeBehavior(Behavior <T> behavior)
 {
     return(EventHorizonBlazorInterop.FuncClass <T>(
                entity => new T()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "removeBehavior" }, behavior
     }
                ));
 }
 public static BaseTexture Parse(object parsedTexture, Scene scene, string rootUrl)
 {
     return(EventHorizonBlazorInterop.FuncClass <BaseTexture>(
                entity => new BaseTexture()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Texture", "Parse" }, parsedTexture, scene, rootUrl
     }
                ));
 }
 public static Texture LoadFromDataString(string name, object buffer, Scene scene, System.Nullable <bool> deleteBuffer = null, System.Nullable <bool> noMipmap = null, System.Nullable <bool> invertY = null, System.Nullable <decimal> samplingMode = null, ActionCallback onLoad = null, ActionCallback <string, CachedEntity> onError = null, System.Nullable <decimal> format = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <Texture>(
                entity => new Texture()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Texture", "LoadFromDataString" }, name, buffer, scene, deleteBuffer, noMipmap, invertY, samplingMode, onLoad, onError, format
     }
                ));
 }
Example #4
0
 public AnimationGroup setWeightForAllAnimatables(decimal weight)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "setWeightForAllAnimatables" }, weight
     }
                ));
 }
Example #5
0
 public AnimationGroup goToFrame(decimal frame)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "goToFrame" }, frame
     }
                ));
 }
Example #6
0
 public AnimationGroup normalize(System.Nullable <decimal> beginFrame = null, System.Nullable <decimal> endFrame = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "normalize" }, beginFrame, endFrame
     }
                ));
 }
Example #7
0
 public AnimationGroup play(System.Nullable <bool> loop = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "play" }, loop
     }
                ));
 }
Example #8
0
 public async ValueTask <Vector3> getRightTarget()
 {
     return(await EventHorizonBlazorInterop.FuncClass <Vector3>(
                entity => new Vector3()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getRightTarget" }
     }
                ));
 }
Example #9
0
 public async ValueTask <Camera> createRigCamera(string name, decimal cameraIndex)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Camera>(
                entity => new Camera()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "createRigCamera" }, name, cameraIndex
     }
                ));
 }
Example #10
0
 public async ValueTask <Matrix> getTransformationMatrix()
 {
     return(await EventHorizonBlazorInterop.FuncClass <Matrix>(
                entity => new Matrix()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getTransformationMatrix" }
     }
                ));
 }
Example #11
0
 public async ValueTask <Ray> getForwardRay(System.Nullable <decimal> length = null, Matrix transform = null, Vector3 origin = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Ray>(
                entity => new Ray()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getForwardRay" }, length, transform, origin
     }
                ));
 }
Example #12
0
 public async ValueTask <Matrix> getProjectionMatrix(System.Nullable <bool> force = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Matrix>(
                entity => new Matrix()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getProjectionMatrix" }, force
     }
                ));
 }
Example #13
0
 public async ValueTask <SmartArray <AbstractMesh> > getActiveMeshes()
 {
     return(await EventHorizonBlazorInterop.FuncClass <SmartArray <AbstractMesh> >(
                entity => new SmartArray <AbstractMesh>()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getActiveMeshes" }
     }
                ));
 }
 public BehaviorCachedEntity <T> getBehaviorByName(string name)
 {
     return(EventHorizonBlazorInterop.FuncClass <BehaviorCachedEntity <T> >(
                entity => new BehaviorCachedEntity <T>()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getBehaviorByName" }, name
     }
                ));
 }
Example #15
0
 public static AnimationGroup MakeAnimationAdditive(AnimationGroup sourceAnimationGroup, System.Nullable <decimal> referenceFrame = null, string range = null, System.Nullable <bool> cloneOriginal = null, string clonedName = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "AnimationGroup", "MakeAnimationAdditive" }, sourceAnimationGroup, referenceFrame, range, cloneOriginal, clonedName
     }
                ));
 }
Example #16
0
 public async ValueTask <Camera> clone(string name)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Camera>(
                entity => new Camera()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }, name
     }
                ));
 }
Example #17
0
 public TargetedAnimation addTargetedAnimation(Animation animation, object target)
 {
     return(EventHorizonBlazorInterop.FuncClass <TargetedAnimation>(
                entity => new TargetedAnimation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "addTargetedAnimation" }, animation, target
     }
                ));
 }
Example #18
0
 public async ValueTask <Vector3> getDirection(Vector3 localAxis)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Vector3>(
                entity => new Vector3()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getDirection" }, localAxis
     }
                ));
 }
Example #19
0
 public AnimationGroup start(System.Nullable <bool> loop = null, System.Nullable <decimal> speedRatio = null, System.Nullable <decimal> from = null, System.Nullable <decimal> to = null, System.Nullable <bool> isAdditive = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "start" }, loop, speedRatio, from, to, isAdditive
     }
                ));
 }
Example #20
0
 public async ValueTask <Matrix> computeWorldMatrix()
 {
     return(await EventHorizonBlazorInterop.FuncClass <Matrix>(
                entity => new Matrix()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "computeWorldMatrix" }
     }
                ));
 }
Example #21
0
 public AnimationGroup stop()
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "stop" }
     }
                ));
 }
Example #22
0
 public static async ValueTask <Camera> Parse(object parsedCamera, Scene scene)
 {
     return(await EventHorizonBlazorInterop.FuncClass <Camera>(
                entity => new Camera()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Camera", "Parse" }, parsedCamera, scene
     }
                ));
 }
Example #23
0
 public AnimationGroup syncAllAnimationsWith(Animatable root)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "syncAllAnimationsWith" }, root
     }
                ));
 }
Example #24
0
 public async ValueTask <Camera> storeState()
 {
     return(await EventHorizonBlazorInterop.FuncClass <Camera>(
                entity => new Camera()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "storeState" }
     }
                ));
 }
Example #25
0
 public AnimationGroup clone(string newName, ActionCallback <object> targetConverter = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }, newName, targetConverter
     }
                ));
 }
 public async ValueTask <PointParticleEmitter> clone()
 {
     return(await EventHorizonBlazorInterop.FuncClass <PointParticleEmitter>(
                entity => new PointParticleEmitter()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }
     }
                ));
 }
 public static Texture CreateFromBase64String(string data, string name, Scene scene, System.Nullable <bool> noMipmap = null, System.Nullable <bool> invertY = null, System.Nullable <decimal> samplingMode = null, ActionCallback onLoad = null, ActionCallback onError = null, System.Nullable <decimal> format = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <Texture>(
                entity => new Texture()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Texture", "CreateFromBase64String" }, data, name, scene, noMipmap, invertY, samplingMode, onLoad, onError, format
     }
                ));
 }
Example #28
0
 public static AnimationGroup Parse(object parsedAnimationGroup, Scene scene)
 {
     return(EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "AnimationGroup", "Parse" }, parsedAnimationGroup, scene
     }
                ));
 }
 public Matrix getTextureMatrix(System.Nullable <decimal> uBase = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <Matrix>(
                entity => new Matrix()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getTextureMatrix" }, uBase
     }
                ));
 }
Example #30
0
 public async ValueTask <InstancedMesh> clone(string name, Node newParent = null, System.Nullable <bool> doNotCloneChildren = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <InstancedMesh>(
                entity => new InstancedMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }, name, newParent, doNotCloneChildren
     }
                ));
 }