System Parameters

System parameters can be accessed in each of the shader callback functions via the IRTSExecutionState object which returns the XSI_RTS_SystemParams struct from the GetSystemParams method. Some system parameters have been deprecated, as there are more convenient and efficient ways to access the information.

Deprecated Variables

Preferred Acess Method

m_pShaderHandle

IRTSExecutionState::GetShader

m_pObjectHandle

XSI_RTS_SystemParams::m_pMaterialHandle

m_SceneData

Lights don’t have their own access method, but you can use IRTSExecutionState::GetCamera to get the current camera.

 

There is a lot more data available via the IRTSExecutionState object than the system parameters can provide. See the IRTSExecutionState reference page for more information.

 



Autodesk Softimage v7.5