![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The ITextureStateCopy graph node interface.
Nodes implementing this interface provide a means to copy the current texture state assignment (performed via an IMaterialState node) at a given source slot and unit to a given destination slot and unit.
See Graph::ITextureState for additional details.
Murl.Graph.IStateSlot
Murl.Graph.IStateUnit
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()
Set the source slot to copy the state assignment from.
Boolean SetSourceSlot(Integer slot)
slot | The source slot, from 0 to IEnums::NUM_TEXTURE_SLOTS-1. |
Get the source slot to copy the state assignment from.
Integer GetSourceSlot()
Set the source unit to copy the state assignment from.
Boolean SetSourceUnit(Integer unit)
unit | The source unit, from 0 to IEnums::NUM_TEXTURE_UNITS-1. |
Get the source unit to copy the state assignment from.
Integer GetSourceUnit()