Example #1
0
        public static VolumeTexture IsVolumeTexture(this TextureMeta id)
        {
            if (id != null && id.texture2D)
            {
                return(id.GetVolumeTextureData());
            }

            return(null);
        }
        public static VolumeTexture GetVolumeTextureController(this TextureMeta id)
        {
            if (id != null && id.isAVolumeTexture)
            {
                return(id.GetVolumeTextureData());
            }

            return(null);
        }