コード例 #1
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 NodeMaterial(
            string name, Scene scene = null, INodeMaterialOptions options = null
            ) : base()
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "NodeMaterial" },
                name, scene, options
                );

            ___guid = entity.___guid;
        }