engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
UBlueprint类 参考

Blueprints are special assets that provide an intuitive, node-based interface that can be used to create new types of Actors and script level events; giving designers and gameplay programmers the tools to quickly create and iterate gameplay from within Unreal Editor without ever needing to write a line of code. 更多...

#include <Blueprint.h>

+ 类 UBlueprint 继承关系图:

Public 成员函数

void GetAllGraphs (TArray< UEdGraph * > &Graphs) const
 Get all graphs in this blueprint
 
virtual FString GetDesc (void) override
 Return a one line description of an object for viewing in the thumbnail view of the generic browser
 
virtual void GetInstanceActions (FBlueprintActionDatabaseRegistrar &ActionRegistrar) const
 Allow each blueprint instance to add specific UBlueprintNodeSpawners pertaining to the sub-class type. 更多...
 
virtual void GetPreloadDependencies (TArray< UObject * > &OutDeps) override
 Called during cooking. 更多...
 
ETimelineSigType GetTimelineSignatureForFunctionByName (const FName &FunctionName, const FName &ObjectPropertyName)
 Find a function given its name and optionally an object property name within this Blueprint
 
virtual void GetTypeActions (FBlueprintActionDatabaseRegistrar &ActionRegistrar) const
 Allow each blueprint type (AnimBlueprint or ControlRigBlueprint) to add specific UBlueprintNodeSpawners pertaining to the sub-class type. 更多...
 
virtual bool IsValidForBytecodeOnlyRecompile () const
 Whether or not this blueprint can be considered for a bytecode only compile
 
virtual bool NeedsLoadForClient () const override
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual bool NeedsLoadForEditorGame () const override
 Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. 更多...
 
virtual bool NeedsLoadForServer () const override
 Called during saving to determine the load flags to save with the object. 更多...
 
virtual void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 
virtual bool ShouldBeMarkedDirtyUponTransaction () const
 Returns true if this blueprint should be marked dirty upon a transaction
 
virtual void TagSubobjects (EObjectFlags NewFlags) override
 Tags objects that are part of the same asset with the specified object flag, used for GC checking 更多...
 

静态 Public 成员函数

static UBlueprint * GetBlueprintFromClass (const UClass *InClass)
 Get the Blueprint object that generated the supplied class
 
static bool GetBlueprintHierarchyFromClass (const UClass *InClass, TArray< UBlueprint * > &OutBlueprintParents)
 Gets an array of all blueprints used to generate this class and its parents. 更多...
 
static int32 GetCurrentBlueprintSystemVersion ()
 Gets the current blueprint system version. 更多...
 

详细描述

Blueprints are special assets that provide an intuitive, node-based interface that can be used to create new types of Actors and script level events; giving designers and gameplay programmers the tools to quickly create and iterate gameplay from within Unreal Editor without ever needing to write a line of code.

成员函数说明

◆ GetBlueprintHierarchyFromClass()

static bool UBlueprint::GetBlueprintHierarchyFromClass ( const UClass *  InClass,
TArray< UBlueprint * > &  OutBlueprintParents 
)
static

Gets an array of all blueprints used to generate this class and its parents.

0th elements is the BP used to generate InClass

参数
InClassThe class to get the blueprint lineage for
OutBlueprintParentsArray with the blueprints used to generate this class and its parents. 0th = this, Nth = least derived BP-based parent
返回
true if there were no status errors in any of the parent blueprints, otherwise false

◆ GetCurrentBlueprintSystemVersion()

static int32 UBlueprint::GetCurrentBlueprintSystemVersion ( )
inlinestatic

Gets the current blueprint system version.

Note- incrementing this version will invalidate ALL existing blueprints!

◆ GetInstanceActions()

virtual void UBlueprint::GetInstanceActions ( FBlueprintActionDatabaseRegistrar &  ActionRegistrar) const
inlinevirtual

Allow each blueprint instance to add specific UBlueprintNodeSpawners pertaining to the sub-class type.

Serves as an extensible way for new nodes, and game module nodes to add themselves to context menus.

参数
ActionRegistrarBlueprintActionDataBaseRetistrar

◆ GetPreloadDependencies()

virtual void UBlueprint::GetPreloadDependencies ( TArray< UObject * > &  OutDeps)
overridevirtual

Called during cooking.

Must return all objects that will be Preload()ed when this is serialized at load time. Only used by the EDL.

参数
OutDepsall objects that will be preloaded when this is serialized at load time

重载 UObject .

◆ GetTypeActions()

virtual void UBlueprint::GetTypeActions ( FBlueprintActionDatabaseRegistrar &  ActionRegistrar) const
inlinevirtual

Allow each blueprint type (AnimBlueprint or ControlRigBlueprint) to add specific UBlueprintNodeSpawners pertaining to the sub-class type.

Serves as an extensible way for new nodes, and game module nodes to add themselves to context menus.

参数
ActionRegistrarBlueprintActionDataBaseRetistrar

◆ NeedsLoadForClient()

virtual bool UBlueprint::NeedsLoadForClient ( ) const
overridevirtual

Called during saving to determine the load flags to save with the object.

If false, this object will be discarded on clients

返回
true if this object should be loaded on clients

重载 UObject .

◆ NeedsLoadForEditorGame()

virtual bool UBlueprint::NeedsLoadForEditorGame ( ) const
overridevirtual

Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be.

If false, this object will still get loaded if NeedsLoadForServer/Client are true

返回
true if this object should always be loaded for games running in editor builds

重载 UObject .

◆ NeedsLoadForServer()

virtual bool UBlueprint::NeedsLoadForServer ( ) const
overridevirtual

Called during saving to determine the load flags to save with the object.

If false, this object will be discarded on servers

返回
true if this object should be loaded on servers

重载 UObject .

◆ Serialize()

virtual void UBlueprint::Serialize ( FArchive &  Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive.

This implementation handles all FProperty serialization, but can be overridden for native variables.

重载 UObject .

◆ TagSubobjects()

virtual void UBlueprint::TagSubobjects ( EObjectFlags  NewFlags)
overridevirtual

Tags objects that are part of the same asset with the specified object flag, used for GC checking

参数
ObjectFlagsObject Flags to enable on the related objects

重载 UObject .


该类的文档由以下文件生成: