Class ufbx_load_opts_safe.CallbackAndData
Manages callback data for native interoperability, including the callback function, user data, and GCHandle instances for lifetime management.
Implements
Inherited Members
Namespace: ufbxSafe
Assembly: ufbxSafe.dll
Syntax
public class ufbx_load_opts_safe.CallbackAndData : IDisposable
Fields
Handle
Gets or sets the GCHandle for this ufbx_load_opts_safe.CallbackAndData instance, ensuring the instance remains alive during native interoperability.
Declaration
public GCHandle Handle
Field Value
| Type | Description |
|---|---|
| GCHandle |
ManagedCallback
Gets or sets the managed callback delegate for progress or file operations.
Declaration
public Delegate ManagedCallback
Field Value
| Type | Description |
|---|---|
| Delegate |
UserData
Gets or sets the GCHandle for user-defined data, ensuring it remains accessible during native calls.
Declaration
public GCHandle UserData
Field Value
| Type | Description |
|---|---|
| GCHandle |
Methods
Dispose()
Releases all resources held by this ufbx_load_opts_safe.CallbackAndData instance. Frees the GCHandle instances for the instance and user data, if allocated.
Declaration
public void Dispose()