Jump to content

HOw can I print a text to video in editor?


Alessandro
 Share

Recommended Posts

There is a drawing hook that you can assign a Lua method to and inside there you can draw 2D stuff like text.

 

AddHook("Flip", MyFunction)

 

"Flip" is a keyword and for drawing you need that, then the function can be any Lua function.

 

function MyFunction()

-- Draw images or text here

end

Link to comment
Share on other sites

There is a drawing hook that you can assign a Lua method to and inside there you can draw 2D stuff like text.

 

AddHook("Flip", MyFunction)

 

"Flip" is a keyword and for drawing you need that, then the function can be any Lua function.

 

function MyFunction()

-- Draw images or text here

end

 

Thank you Rick! I will test it tonight (I'm at work now :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...