1
0
This commit is contained in:
2020-12-13 18:01:13 +03:00
commit dd42f84140
3764 changed files with 596895 additions and 0 deletions

View File

@ -0,0 +1,24 @@
//! @file GenericBrowserType_SubstanceAirGraphInstance.uc
//! @author Antoine Gonzalez - Allegorithmic
//! @copyright Allegorithmic. All rights reserved.
//!
//! @brief the GenericBrowserType for SubstanceAirGraphInstance
//! Offers instantiate and preset loading functions
class GenericBrowserType_SubstanceAirGraphInstance
extends GenericBrowserType
native(Browser);
cpptext
{
virtual void Init();
virtual UBOOL NotifyPreDeleteObject(UObject* ObjectToDelete);
virtual void QuerySupportedCommands(class USelection* InObjects, TArray< FObjectSupportedCommandType >& OutCommands) const;
virtual void InvokeCustomCommand(INT InCommand, TArray<UObject*>& InObjects);
UBOOL ShowObjectEditor(UObject* InObject);
}
defaultproperties
{
Description="Substance Graph Instance"
}

View File

@ -0,0 +1,22 @@
//! @file GenericBrowserType_SubstanceAirImageInput.uc
//! @author Antoine Gonzalez - Allegorithmic
//! @copyright Allegorithmic. All rights reserved.
//!
//! @brief the GenericBrowserType for SubstanceAirImageInput
class GenericBrowserType_SubstanceAirImageInput
extends GenericBrowserType
native(Browser);
cpptext
{
virtual void Init();
virtual void QuerySupportedCommands( class USelection* InObjects, TArray< FObjectSupportedCommandType >& OutCommands ) const;
virtual void InvokeCustomCommand( INT InCommand, TArray<UObject*>& InObjects );
virtual UBOOL ShowObjectProperties(UObject* InObject);
}
defaultproperties
{
Description="Substance Image Input"
}

View File

@ -0,0 +1,27 @@
//! @file GenericBrowserType_SubstanceAirInstanceFactory.uc
//! @author Antoine Gonzalez - Allegorithmic
//! @copyright Allegorithmic. All rights reserved.
//!
//! @brief the GenericBrowserType for SubstanceAirInstanceFactory
//! Offers instantiate and preset loading functions
class GenericBrowserType_SubstanceAirInstanceFactory
extends GenericBrowserType
native(Browser);
cpptext
{
virtual void Init();
virtual UBOOL NotifyPreDeleteObject(UObject* ObjectToDelete);
virtual void QuerySupportedCommands(class USelection* InObjects, TArray< FObjectSupportedCommandType >& OutCommands) const;
virtual void InvokeCustomCommand(INT InCommand, TArray<UObject*>& InObjects);
virtual INT QueryDefaultCommand( TArray<UObject*>& InObjects ) const;
virtual UBOOL ShowObjectProperties( UObject* InObject );
}
defaultproperties
{
Description="Substance Package"
}

View File

@ -0,0 +1,23 @@
//! @file GenericBrowserType_SubstanceAirGraphInstance.uc
//! @author Antoine Gonzalez - Allegorithmic
//! @copyright Allegorithmic. All rights reserved.
//!
//! @brief the GenericBrowserType for SubstanceAirTexture2D
//! Used to deactivate the corresponding Substance output
class GenericBrowserType_SubstanceAirTexture2D
extends GenericBrowserType_Texture
native(Browser);
cpptext
{
virtual void Init();
virtual void QuerySupportedCommands( class USelection* InObjects, TArray< FObjectSupportedCommandType >& OutCommands ) const;
virtual void InvokeCustomCommand( INT InCommand, TArray<UObject*>& InObjects );
virtual UBOOL NotifyPreDeleteObject(UObject* ObjectToDelete);
}
defaultproperties
{
Description="Substance Texture 2D"
}

View File

@ -0,0 +1,18 @@
//! @file ImageInputThumbnailRenderer.uc
//! @author Antoine Gonzalez - Allegorithmic
//! @copyright Allegorithmic. All rights reserved.
//!
//! @brief This thumbnail renderer displays the texture for the object in question
class ImageInputThumbnailRenderer extends ThumbnailRenderer
native(ThumbnailRenderer);
cpptext
{
virtual UBOOL SupportsCPUGeneratedThumbnail(UObject *InObject) const
{
return TRUE;
}
virtual void DrawCPU( UObject* InObject, FObjectThumbnail& OutThumbnailBuffer) const;
}