17 lines
556 B
C#
17 lines
556 B
C#
using GLTF.Schema;
|
|
|
|
namespace UnityGLTF.Plugins
|
|
{
|
|
public class VisibilityExport : GLTFExportPlugin
|
|
{
|
|
public override string DisplayName => KHR_node_visibility_Factory.EXTENSION_NAME;
|
|
public override string Description => "Exports visibility of objects.";
|
|
public override bool AlwaysEnabled => false;
|
|
public override bool EnabledByDefault => false;
|
|
public override GLTFExportPluginContext CreateInstance(ExportContext context)
|
|
{
|
|
// always enabled
|
|
return null;
|
|
}
|
|
}
|
|
} |