upload
This commit is contained in:
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
18
SubstanceAirEd/Classes/ImageInputThumbnailRenderer.uc
Normal file
18
SubstanceAirEd/Classes/ImageInputThumbnailRenderer.uc
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user