AR_Engine_SDK
函数 | 变量
XEPatchGraphNode.lua 文件参考

#include <XEPatchGraphNode.h>

类 XEPatchGraphNode 继承关系图:
Inheritance graph

函数

function XEPatchGraphNode new () end
 
function XEPatchGraphNode GetTypeName () end
 
function XEPatchGraphNode GetKeywords () end
 
function XEPatchGraphNode SetKeywords (strKw) end
 
function XEPatchGraphNode GetNodeTitle () end
 
function XEPatchGraphNode SetNodeTitle (strTitle) end
 
function XEPatchGraphNode RemovePinAt (PinIndex, PinDirection, eDrivenType) end
 
function XEPatchGraphNode GetPinDisplayName (Pin) end
 
function XEPatchGraphNode Modify () end
 
function XEPatchGraphNode OnPinRemoved (pInRemovedPin) end
 
function XEPatchGraphNode OnPinDisconnected (pFrom, pTo) end
 
function XEPatchGraphNode OnPinConnected (pFrom, pTo) end
 
function XEPatchGraphNode NodeConnectionListChanged () end
 
function XEPatchGraphNode PinConnectionListChanged (pPin) end
 
function XEPatchGraphNode DisableNode () end
 
function XEPatchGraphNode EnableNode () end
 
function XEPatchGraphNode OnExecConstruct () end
 
function XEPatchGraphNode Execute (pDrivenFsm) end
 
function XEPatchGraphNode VerifyExecuteResultForNextPin (pOwnerOutputPin, pAcceptNode, pDrivenFsm) end
 
function XEPatchGraphNode OnExecDestruct () end
 
function XEPatchGraphNode Clone () end
 
function XEPatchGraphNode OnNodeDataChanged (szReason) end
 
function XEPatchGraphNode PrepareConnectedNodeData () end
 
function XEPatchGraphNode GetLatentDataForPin (pOwnerPin, varData) end
 
function XEPatchGraphNode CreatePin (Dir, PinName, Index, eDrivenType) end
 
function XEPatchGraphNode BreakAllNodeLinks () end
 
function XEPatchGraphNode SetGraph (pGraph) end
 
function XEPatchGraphNode GetGraph () end
 
function XEPatchGraphNode GetAllPins (eDrivenType) end
 
function XEPatchGraphNode GetPinAt (Index, eDrivenType) end
 
function XEPatchGraphNode GetFinalOutputNode (arrOutputNodes, eDrivenType) end
 
function XEPatchGraphNode GetSchema () end
 
function XEPatchGraphNode IsNodeEnabled () end
 
function XEPatchGraphNode IsNodeValid () end
 
function XEPatchGraphNode GetPinIndex (pPin) end
 
function XEPatchGraphNode RemovePin (pPin) end
 
function XEPatchGraphNode HasPin (pPin) end
 
function XEPatchGraphNode FindPin (PinName, Direction, eDrivenType) end
 
function XEPatchGraphNode FindPinById (PinId) end
 
function XEPatchGraphNode FindPinByIndexAndDirection (nIndex, Direction, eDrivenType) end
 
function XEPatchGraphNode FindPinsByDirection (Direction, eDrivenType) end
 
function XEPatchGraphNode ResoloveConnectStreamNodes (eDrivenType) end
 
function XEPatchGraphNode IsDeleted () end
 
function XEPatchGraphNode SetDeleted (bDeleted) end
 
function XEPatchGraphNode IsNodeLinked (pNode, eDrivenType) end
 
function XEPatchGraphNode IsFlowDrivenNode () end
 
function XEPatchGraphNode IsModified () end
 
function XEPatchGraphNode IsInitialized () end
 

变量

 XEPatchGraphNode = {}
 

函数说明

◆ BreakAllNodeLinks()

function XEPatchGraphNode BreakAllNodeLinks ( )

XEPatchGraphNode_BreakAllNodeLinks00

返回
void

◆ Clone()

function XEPatchGraphNode Clone ( )

Clone the node

返回
XEPatchGraphNode

◆ CreatePin()

function XEPatchGraphNode CreatePin ( Dir  ,
PinName  ,
Index  ,
eDrivenType   
)

Create a new pin on this node and return the new pin

参数
Dirnumber
PinNamestring
Indexnumber
eDrivenTypenumber
返回
XEPatchGraphPin

◆ DisableNode()

function XEPatchGraphNode DisableNode ( )

XEPatchGraphNode_DisableNode00

返回
void

◆ EnableNode()

function XEPatchGraphNode EnableNode ( )

XEPatchGraphNode_EnableNode00

返回
void

◆ Execute()

function XEPatchGraphNode Execute ( pDrivenFsm  )

to execute the node, 0 No errors

参数
pDrivenFsmXEPatchGraphNodeStateMachine
返回
number

◆ FindPin()

function XEPatchGraphNode FindPin ( PinName  ,
Direction  ,
eDrivenType   
)

XEPatchGraphNode_FindPin00

参数
PinNamestring
Directionnumber
eDrivenTypenumber
返回
XEPatchGraphPin

◆ FindPinById()

function XEPatchGraphNode FindPinById ( PinId  )

XEPatchGraphNode_FindPinById00

参数
PinIdnumber
返回
XEPatchGraphPin

◆ FindPinByIndexAndDirection()

function XEPatchGraphNode FindPinByIndexAndDirection ( nIndex  ,
Direction  ,
eDrivenType   
)

XEPatchGraphNode_FindPinByIndexAndDirection00

参数
nIndexnumber
Directionnumber
eDrivenTypenumber
返回
XEPatchGraphPin

◆ FindPinsByDirection()

function XEPatchGraphNode FindPinsByDirection ( Direction  ,
eDrivenType   
)

XEPatchGraphNode_FindPinsByDirection00

参数
Directionnumber
eDrivenTypenumber
返回
XEPatchGraphPin[]

◆ GetAllPins()

function XEPatchGraphNode GetAllPins ( eDrivenType  )

XEPatchGraphNode_GetAllPins00

参数
eDrivenTypenumber
返回
XEPatchGraphPin[]

◆ GetFinalOutputNode()

function XEPatchGraphNode GetFinalOutputNode ( arrOutputNodes  ,
eDrivenType   
)

Create a new pin on this node and return the new pin

参数
arrOutputNodesXEPatchGraphNode[] thefinallink-tonodesthatwalk-throughthenodes.
eDrivenTypenumber
返回
XEPatchGraphNode thelastfinallink-tonode

◆ GetGraph()

function XEPatchGraphNode GetGraph ( )

XEPatchGraphNode_GetGraph00

返回
XEPatchGraph

◆ GetKeywords()

function XEPatchGraphNode GetKeywords ( )

XEPatchGraphNode_GetKeywords00

返回
string

◆ GetLatentDataForPin()

function XEPatchGraphNode GetLatentDataForPin ( pOwnerPin  ,
varData   
)

Get the latent data for a pin

参数
pOwnerPinXEPatchGraphPin apinthisnodeowned.
varDataXEVariant thedatathatthepincontainsinalatent-way
返回
boolean

◆ GetNodeTitle()

function XEPatchGraphNode GetNodeTitle ( )

XEPatchGraphNode_GetNodeTitle00

返回
string

◆ GetPinAt()

function XEPatchGraphNode GetPinAt ( Index  ,
eDrivenType   
)

XEPatchGraphNode_GetPinAt00

参数
Indexnumber
eDrivenTypenumber
返回
XEPatchGraphPin

◆ GetPinDisplayName()

function XEPatchGraphNode GetPinDisplayName ( Pin  )

XEPatchGraphNode_GetPinDisplayName00

参数
PinXEPatchGraphPin
返回
string

◆ GetPinIndex()

function XEPatchGraphNode GetPinIndex ( pPin  )

XEPatchGraphNode_GetPinIndex00

参数
pPinXEPatchGraphPin
返回
number

◆ GetSchema()

function XEPatchGraphNode GetSchema ( )

XEPatchGraphNode_GetSchema00

返回
XEPGraphSchema

◆ GetTypeName()

function XEPatchGraphNode GetTypeName ( )

XEPatchGraphNode_GetTypeName00

返回
string

◆ HasPin()

function XEPatchGraphNode HasPin ( pPin  )

XEPatchGraphNode_HasPin00

参数
pPinXEPatchGraphPin
返回
boolean

◆ IsDeleted()

function XEPatchGraphNode IsDeleted ( )

XEPatchGraphNode_IsDeleted00

返回
boolean

◆ IsFlowDrivenNode()

function XEPatchGraphNode IsFlowDrivenNode ( )

if exist the driven param pin, return true

返回
boolean

◆ IsInitialized()

function XEPatchGraphNode IsInitialized ( )

XEPatchGraphNode_IsInitialized00

返回
boolean

◆ IsModified()

function XEPatchGraphNode IsModified ( )

XEPatchGraphNode_IsModified00

返回
boolean

◆ IsNodeEnabled()

function XEPatchGraphNode IsNodeEnabled ( )

XEPatchGraphNode_IsNodeEnabled00

返回
boolean

◆ IsNodeLinked()

function XEPatchGraphNode IsNodeLinked ( pNode  ,
eDrivenType   
)

to determine if link to another node

参数
pNodeXEPatchGraphNode
eDrivenTypenumber
返回
number 0:Nolinks,1:directlink,2:indirectlink

◆ IsNodeValid()

function XEPatchGraphNode IsNodeValid ( )

XEPatchGraphNode_IsNodeValid00

返回
boolean

◆ Modify()

function XEPatchGraphNode Modify ( )

XEPatchGraphNode_Modify00

返回
void

◆ new()

function XEPatchGraphNode new ( )

XEPatchGraphNode_new00

返回
XEPatchGraphNode

◆ NodeConnectionListChanged()

function XEPatchGraphNode NodeConnectionListChanged ( )

XEPatchGraphNode_NodeConnectionListChanged00

返回
void

◆ OnExecConstruct()

function XEPatchGraphNode OnExecConstruct ( )

fsm is ready to execute the flow nodes, do something in this "construct" function will do the constructing of the connecting param-driven pins by default

返回
void

◆ OnExecDestruct()

function XEPatchGraphNode OnExecDestruct ( )

fsm has been executed the flow nodes, do something in this "destruct" function will do the destructing of the connecting param-driven pins by default

返回
void

◆ OnNodeDataChanged()

function XEPatchGraphNode OnNodeDataChanged ( szReason  )

response on the node changed for the node, meanwhile, notify to the link-nodes.

参数
szReasonstring tellingthereasonofchangingthedata.CanbeNULL,ifNULL,meansdon'tcare.
返回
void

◆ OnPinConnected()

function XEPatchGraphNode OnPinConnected ( pFrom  ,
pTo   
)

XEPatchGraphNode_OnPinConnected00

参数
pFromXEPatchGraphPin
pToXEPatchGraphPin
返回
void

◆ OnPinDisconnected()

function XEPatchGraphNode OnPinDisconnected ( pFrom  ,
pTo   
)

XEPatchGraphNode_OnPinDisconnected00

参数
pFromXEPatchGraphPin
pToXEPatchGraphPin
返回
void

◆ OnPinRemoved()

function XEPatchGraphNode OnPinRemoved ( pInRemovedPin  )

XEPatchGraphNode_OnPinRemoved00

参数
pInRemovedPinXEPatchGraphPin
返回
void

◆ PinConnectionListChanged()

function XEPatchGraphNode PinConnectionListChanged ( pPin  )

XEPatchGraphNode_PinConnectionListChanged00

参数
pPinXEPatchGraphPin
返回
void

◆ PrepareConnectedNodeData()

function XEPatchGraphNode PrepareConnectedNodeData ( )

prepare for the connected node data, recursively. param-drive only

返回
void

◆ RemovePin()

function XEPatchGraphNode RemovePin ( pPin  )

XEPatchGraphNode_RemovePin00

参数
pPinXEPatchGraphPin
返回
boolean

◆ RemovePinAt()

function XEPatchGraphNode RemovePinAt ( PinIndex  ,
PinDirection  ,
eDrivenType   
)

XEPatchGraphNode_RemovePinAt00

参数
PinIndexnumber
PinDirectionnumber
eDrivenTypenumber
返回
void

◆ ResoloveConnectStreamNodes()

function XEPatchGraphNode ResoloveConnectStreamNodes ( eDrivenType  )

以上游->下游的连接顺序解出到该节点的节点队列

参数
eDrivenTypenumber
返回
XEPatchGraphNode[]
number

◆ SetDeleted()

function XEPatchGraphNode SetDeleted ( bDeleted  )

XEPatchGraphNode_SetDeleted00

参数
bDeletedboolean
返回
void

◆ SetGraph()

function XEPatchGraphNode SetGraph ( pGraph  )

XEPatchGraphNode_SetGraph00

参数
pGraphXEPatchGraph
返回
void

◆ SetKeywords()

function XEPatchGraphNode SetKeywords ( strKw  )

XEPatchGraphNode_SetKeywords00

参数
strKwstring
返回
void

◆ SetNodeTitle()

function XEPatchGraphNode SetNodeTitle ( strTitle  )

XEPatchGraphNode_SetNodeTitle00

参数
strTitlestring
返回
void

◆ VerifyExecuteResultForNextPin()

function XEPatchGraphNode VerifyExecuteResultForNextPin ( pOwnerOutputPin  ,
pAcceptNode  ,
pDrivenFsm   
)

verify the execute result and determine whether can be passed to the next flow-driven pin

参数
pOwnerOutputPinXEPatchGraphPin
pAcceptNodeXEPatchGraphNode
pDrivenFsmXEPatchGraphNodeStateMachine thefinitestatemachineofthisnode-flow.Youmayneedtofindtherunningresultofthisnodewhichbeenputinitsfsm.
返回
boolean

变量说明

◆ XEPatchGraphNode