public static async ValueTask <InputBlock> NewInputBlock(
            string name, System.Nullable <int> target = null, System.Nullable <int> type = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "InputBlock" },
                name, target, type
                );

            return(new InputBlock(entity));
        }
        public NodeMaterialConnectionPoint(
            string name, NodeMaterialBlock ownerBlock, int direction
            )
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "NodeMaterialConnectionPoint" },
                name, ownerBlock, direction
                );

            ___guid = entity.___guid;
        }
示例#3
0
        public PointerInfoPre(
            decimal type, PointerEvent @event, decimal localX, decimal localY
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "PointerInfoPre" },
                type, @event, localX, localY
                );

            ___guid = entity.___guid;
        }
示例#4
0
        public static async ValueTask <Ray> NewRay(
            Vector3 origin, Vector3 direction, System.Nullable <decimal> length = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "Ray" },
                origin, direction, length
                );

            return(new Ray(entity));
        }
        public static async ValueTask <SmartArray <T> > NewSmartArray(
            decimal capacity
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "SmartArray" },
                capacity
                );

            return(new SmartArray <T>(entity));
        }
        public InputBlock(
            string name, System.Nullable <int> target = null, System.Nullable <int> type = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "InputBlock" },
                name, target, type
                );

            ___guid = entity.___guid;
        }
        public static async ValueTask <TextBlock> NewTextBlock(
            string name = null, string text = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "GUI", "TextBlock" },
                name, text
                );

            return(new TextBlock(entity));
        }
        public static async ValueTask <RawTexture> NewRawTexture(
            ArrayBufferView data, decimal width, decimal height, decimal format, Scene scene, System.Nullable <bool> generateMipMaps = null, System.Nullable <bool> invertY = null, System.Nullable <decimal> samplingMode = null, System.Nullable <decimal> type = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "RawTexture" },
                data, width, height, format, scene, generateMipMaps, invertY, samplingMode, type
                );

            return(new RawTexture(entity));
        }
        public static async ValueTask <AnimationGroup> NewAnimationGroup(
            string name, Scene scene = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "AnimationGroup" },
                name, scene
                );

            return(new AnimationGroup(entity));
        }
        public static async ValueTask <ImageProcessingPostProcess> NewImageProcessingPostProcess(
            string name, decimal options, Camera camera = null, System.Nullable <decimal> samplingMode = null, Engine engine = null, System.Nullable <bool> reusable = null, System.Nullable <decimal> textureType = null, ImageProcessingConfiguration imageProcessingConfiguration = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ImageProcessingPostProcess" },
                name, options, camera, samplingMode, engine, reusable, textureType, imageProcessingConfiguration
                );

            return(new ImageProcessingPostProcess(entity));
        }
示例#11
0
        public static async ValueTask <NodeMaterial> NewNodeMaterial(
            string name, Scene scene = null, INodeMaterialOptions options = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "NodeMaterial" },
                name, scene, options
                );

            return(new NodeMaterial(entity));
        }
        public KeyboardInfoPre(
            decimal type, KeyboardEvent @event
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "KeyboardInfoPre" },
                type, @event
                );

            ___guid = entity.___guid;
        }
示例#13
0
        public TargetCamera(
            string name, Vector3 position, Scene scene, System.Nullable <bool> setActiveOnSceneIfNoneActive = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "TargetCamera" },
                name, position, scene, setActiveOnSceneIfNoneActive
                );

            ___guid = entity.___guid;
        }
示例#14
0
        public TextureBlock(
            string name, System.Nullable <bool> fragmentOnly = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "TextureBlock" },
                name, fragmentOnly
                );

            ___guid = entity.___guid;
        }
示例#15
0
        public TouchCamera(
            string name, Vector3 position, Scene scene
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "TouchCamera" },
                name, position, scene
                );

            ___guid = entity.___guid;
        }
        public BoundingBox(
            Vector3 min, Vector3 max, Matrix worldMatrix = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "BoundingBox" },
                min, max, worldMatrix
                );

            ___guid = entity.___guid;
        }
    public IntersectionObserver(
        ActionCallback <IntersectionObserverEntry[], IntersectionObserver> callback, IntersectionObserverInit options = null
        )
    {
        var entity = EventHorizonBlazorInterop.New(
            new string[] { "IntersectionObserver" },
            callback, options
            );

        ___guid = entity.___guid;
    }
示例#18
0
        public static async ValueTask <NodeMaterialBlock> NewNodeMaterialBlock(
            string name, System.Nullable <int> target = null, System.Nullable <bool> isFinalMerger = null, System.Nullable <bool> isInput = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "NodeMaterialBlock" },
                name, target, isFinalMerger, isInput
                );

            return(new NodeMaterialBlock(entity));
        }
        public static async ValueTask <BoundingInfo> NewBoundingInfo(
            Vector3 minimum, Vector3 maximum, Matrix worldMatrix = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "BoundingInfo" },
                minimum, maximum, worldMatrix
                );

            return(new BoundingInfo(entity));
        }
        public StandardMaterial(
            string name, Scene scene
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "StandardMaterial" },
                name, scene
                );

            ___guid = entity.___guid;
        }
示例#21
0
        public static async ValueTask <MorphTargetManager> NewMorphTargetManager(
            Scene scene = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "MorphTargetManager" },
                scene
                );

            return(new MorphTargetManager(entity));
        }
示例#22
0
        public static async ValueTask <TransformNode> NewTransformNode(
            string name, Scene scene = null, System.Nullable <bool> isPure = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "TransformNode" },
                name, scene, isPure
                );

            return(new TransformNode(entity));
        }
示例#23
0
        public AdvancedDynamicTexture(
            string name, Scene scene, System.Nullable <decimal> width = null, System.Nullable <decimal> height = null, System.Nullable <bool> generateMipMaps = null, System.Nullable <decimal> samplingMode = null, System.Nullable <bool> invertY = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "GUI", "AdvancedDynamicTexture" },
                name, width, height, scene, generateMipMaps, samplingMode, invertY
                );

            ___guid = entity.___guid;
        }
        public Observer(
            ActionCallback <T, EventState> callback, decimal mask, object scope = null
            )
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "Observer" },
                callback, mask, scope
                );

            ___guid = entity.___guid;
        }
        public static async ValueTask <FreeCamera> NewFreeCamera(
            string name, Vector3 position, Scene scene, System.Nullable <bool> setActiveOnSceneIfNoneActive = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "FreeCamera" },
                name, position, scene, setActiveOnSceneIfNoneActive
                );

            return(new FreeCamera(entity));
        }
示例#26
0
        public SmartArray(
            decimal capacity
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "SmartArray" },
                capacity
                );

            ___guid = entity.___guid;
        }
        public MorphTarget(
            string name, System.Nullable <decimal> influence = null, Scene scene = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "MorphTarget" },
                name, influence, scene
                );

            ___guid = entity.___guid;
        }
示例#28
0
        public static async ValueTask <ShadowDepthWrapper> NewShadowDepthWrapper(
            Material baseMaterial, Scene scene, IIOptionShadowDepthMaterial options = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ShadowDepthWrapper" },
                baseMaterial, scene, options
                );

            return(new ShadowDepthWrapper(entity));
        }
示例#29
0
        public static async ValueTask <AnimationEvent> NewAnimationEvent(
            decimal frame, ActionCallback <decimal> action, System.Nullable <bool> onlyOnce = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "AnimationEvent" },
                frame, action, onlyOnce
                );

            return(new AnimationEvent(entity));
        }
示例#30
0
        public static async ValueTask <ArcRotateCameraInputsManager> NewArcRotateCameraInputsManager(
            ArcRotateCamera camera
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ArcRotateCameraInputsManager" },
                camera
                );

            return(new ArcRotateCameraInputsManager(entity));
        }