📄 unrenderiterator.h
字号:
// UnRenderIterator.h
#if 1 //MWP
struct ActorBuffer
{
char Buffer[ sizeof(AActor) ];
};
/*-----------------------------------------------------------------------------
URenderIterator.
-----------------------------------------------------------------------------*/
class ENGINE_API URenderIterator : public UObject
{
DECLARE_CLASS(URenderIterator,UObject,0)
INT MaxItems;
INT Index;
APlayerPawn* Observer;
// Constructor.
URenderIterator();
// URenderIterator interface
virtual void Init( APlayerPawn* Camera ); //override to initialize subclass data (call Super required)
virtual void First();
virtual void Next();
virtual bool IsDone(); //override to adjust iteration termination criteria (call Super recommended)
virtual AActor* CurrentItem(); //override to adjust actor render properties based on Index (call Super recommended)
};
/*----------------------------------------------------------------------------
FActorNode.
----------------------------------------------------------------------------*/
class ENGINE_API FActorNode
{
public:
ActorBuffer ActorProxy;
FActorNode* NextNode;
// Constructors.
FActorNode(): NextNode( NULL ) {}
~FActorNode()
{
if( NextNode != NULL )
delete NextNode;
}
};
#endif
// end of UnRenderIterator.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -