Class CustomPassCallback
This class is used to hook rendering command with a camera.
Inherited Members
Namespace: Mechatronics.SensorSDK
Syntax
public class CustomPassCallback : CustomPass, IVersionable<CustomPass.Version>
Constructors
CustomPassCallback(CustomPassCallback.ExecuteCustomPassAction<CustomPassContext>)
Contruct the photosensor array pass and store the callback to call when a custom pass is called.
Declaration
public CustomPassCallback(CustomPassCallback.ExecuteCustomPassAction<CustomPassContext> callback)
Parameters
Type | Name | Description |
---|---|---|
CustomPassCallback.ExecuteCustomPassAction<CustomPassContext> | callback |
Methods
Execute(CustomPassContext)
Invoke the callback function registered at construction time.
Declaration
protected override void Execute(CustomPassContext ctx)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx |