![]() This interface contains only one function, GrabDebugSnapshot, which does nothing by default. To add data to the Actor Shapshot View, you must first implement the IVisualLoggerDebugSnapshotInterface interface function as follows:Ĭlass MYPROJECT_API AMyActor : public AActor, public IVisualLoggerDebugSnapshotInterface These shapes can last for multiple frames, and have many adjustable parameters, such as size and color. You can draw a variety of shapes into the game world. These will appear in the Actor snapshot area, and should update once per frame while the actor exists.Īll text that you log with the Visual Logger will appear in the text window. There are three types of data that you can add to the Visual Logger: If you are in the Editor, the Visual Logger viewport will also open. ![]() In Unreal Engine versions prior to 4.7, enter the console command "VisLog". To activate the Visual Logger, use the menu in Windows > Developer Tools > Visual Logger. For example, an unexpected AI behavior may be caused by a game state variable that changes for a single frame can be studied after the fact by recording the data and scrubbing through the frames around the moment when the bug happened. The ability to record information for later review is especially important when working with rare or difficult-to-reproduce bugs. ![]() Developers can see debug output live during a play session, or review it in the Editor after the session is over, making it much easier to resolve gameplay bugs that are hard to track down based only on user reports or game footage. The Visual Logger is a powerful debugging tool that creates and records visual representations of the gameplay state, and provides the ability to review this data in the Editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |