![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ITextTexture graph node interface.
This interface represents a texture used as a target for rendering text using a predefined system font, referenced by its identifier.
Use the Graph::IText base interface to access common text properties, such as spacing or leading, or the actual text to be shown.
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()
Get the constant Graph::ITexture interface. This method returns a constant pointer to the node's Graph::ITexture interface, to be able to query the node's texture properties.
Murl.Graph.ITexture GetTextureInterface()
Set the text position within the texture.
Boolean SetTextPosition(Number posX, Number posY)
posX | The horizontal text position. |
posY | The vertical text position. |
Set the horizontal text position within the texture.
Boolean SetTextPositionX(Number posX)
posX | The horizontal text position. |
Set the vertical text position within the texture.
Boolean SetTextPositionY(Number posY)
posY | The vertical text position. |
Get the horizontal text position within the texture.
Number GetTextPositionX()
Get the vertical text position within the texture.
Number GetTextPositionY()
Set the output text rectangle's size.
Boolean SetTextSize(Number sizeX, Number sizeY)
sizeX | The horizontal text size. |
sizeY | The vertical text size. |
Set the output text rectangle's horizontal size.
Boolean SetTextSizeX(Number sizeX)
sizeX | The horizontal text size. |
Set the output text rectangle's vertical size.
Boolean SetTextSizeY(Number sizeY)
sizeY | The vertical text size. |
Get the output text rectangle's horizontal size.
Number GetTextSizeX()
Get the output text rectangle's vertical size.
Number GetTextSizeY()
Integer GetNumberOfPlaceholders()
Integer GetPlaceholderId(Integer index)
Number GetPlaceholderPositionX(Integer index)
Number GetPlaceholderPositionY(Integer index)
Number GetPlaceholderSizeX(Integer index)
Number GetPlaceholderSizeY(Integer index)