示例#1
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));
        }
示例#2
0
        public ShadowDepthWrapper(
            Material baseMaterial, Scene scene, IIOptionShadowDepthMaterial options = null
            )
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ShadowDepthWrapper" },
                baseMaterial, scene, options
                );

            ___guid = entity.___guid;
        }