Exemple #1
0
        public static async ValueTask <ShadowGenerator> NewShadowGenerator(
            decimal mapSize, IShadowLight light, System.Nullable <bool> usefulFloatFirst = null
            )
        {
            var entity = await EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ShadowGenerator" },
                mapSize, light, usefulFloatFirst
                );

            return(new ShadowGenerator(entity));
        }
        public ShadowGenerator(
            decimal mapSize, IShadowLight light, System.Nullable <bool> usefulFloatFirst = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "ShadowGenerator" },
                mapSize, light, usefulFloatFirst
                );

            ___guid = entity.___guid;
        }