Class RGNode<TInputs, TOutput, IOptions>
Type parameters
-
TInputs: {}
-
TOutput: keyof IRGData
-
IOptions
Constructors
constructor
- new RGNode<TInputs, TOutput, IOptions>(_parent: RenderGraph<any>, _id: number, _name: string, _options: IOptions): RGNode<TInputs, TOutput, IOptions>
-
Type parameters
-
TInputs: {}
-
TOutput: keyof IRGData
-
IOptions
Parameters
-
-
_id: number
-
_name: string
-
_options: IOptions
Returns RGNode<TInputs, TOutput, IOptions>
Events
onActive
-
Parameters
Returns void
onDisable
-
Parameters
Returns void
onExecute
-
Parameters
Returns void
onInit
- onInit(options: IOptions): void
-
Parameters
Returns void
Properties
Abstract inputTypes
inputTypes: TInputs
Abstract outputType
outputType: TOutput
Accessors
game
-
id
-
Returns number
name
-
Returns string
options
-
Returns IOptions
output
- get output(): IRGData[TOutput]
-
Returns IRGData[TOutput]
Methods
getInput
- getInput<TKey>(key: TKey): IRGData[TInputs[TKey]]
-
Type parameters
-
TKey: string | number | symbol
Parameters
Returns IRGData[TInputs[TKey]]
reset
-
Returns void
渲染节点基类。