Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.ApexAsset


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
/*=============================================================================
	ApexAsset.uc: Wrapper for an NxApexAsset, an APEX base class. Apex Asset
	Copyright 2008-2009 NVIDIA corporation.
=============================================================================*/

/****
* This is the base class for ApexAssets
*
**/
class ApexAsset extends Object
	hidecategories(Object)
	native(Mesh);

var const editinline string OriginalApexName;
var native transient const array<ApexComponentBase> ApexComponents;
var() const editinlineuse editoronly array<ApexAsset>	NamedReferences;
var() const editconst editoronly string SourceFilePath;

cpptext
{
	public:
		/** Display strings for the generic browser */
		virtual	TArray<FString>	GetGenericBrowserInfo();

	   	/** virtual method to return the number of materials used by this asset */
		virtual UINT                GetNumMaterials(void) const   { return 0; }
		/** virtual method to return a particular material by index */
		virtual UMaterialInterface *GetMaterial(UINT Index) const { return 0; }
		/** Returns the default ::NxParameterized::Interface describing the Actor Desc for this asset. */
		virtual void * GetNxParameterized(void) { return 0; };
		/** Returns a *copy* of the :NxParameterized::Interface for this asset. Caller must manually 'destroy' it.*/
		virtual void * GetAssetNxParameterized(void) { return 0; };
		/** Re-assigns the APEX material resources by name with the current array of UE3 materials */
		virtual void UpdateMaterials(void) { };


		virtual void ResetNamedReferences(void);
		virtual void AddNamedReference(class UApexAsset *obj);
		virtual void RemoveNamedReference(class UApexAsset *obj);
		virtual void NotifyApexEditMode(class ApexEditInterface *iface) { };

		/** Whether the APEX asset's materials can be overridden in the actor's ApexComponent */
		virtual UBOOL SupportsMaterialOverride() const { return FALSE; }

	protected:
		// Called when the Asset gets rebuilt (in editor only).
		void OnApexAssetLost(void);
		void OnApexAssetReset(void);
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: må 29-11-2010 19:19:04.000 - Creation time: ti 22-3-2011 19:57:04.549 - Created with UnCodeX