Struct aiContext
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Syntax
Fields
self
Declaration
Field Value
Type |
Description |
System.IntPtr |
|
Properties
timeSamplingCount
Declaration
public int timeSamplingCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
topObject
Declaration
public aiObject topObject { get; }
Property Value
Methods
aiClearContextsWithPath(String)
Declaration
public static void aiClearContextsWithPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
aiContextCreate(Int32)
Declaration
public static aiContext aiContextCreate(int uid)
Parameters
Type |
Name |
Description |
System.Int32 |
uid |
|
Returns
aiContextDestroy(IntPtr)
Declaration
public static void aiContextDestroy(IntPtr ctx)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
aiContextGetTimeRange(IntPtr, ref Double, ref Double)
Declaration
public static void aiContextGetTimeRange(IntPtr ctx, ref double begin, ref double end)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
System.Double |
begin |
|
System.Double |
end |
|
aiContextGetTimeSampling(IntPtr, Int32)
Declaration
public static aiTimeSampling aiContextGetTimeSampling(IntPtr ctx, int i)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
System.Int32 |
i |
|
Returns
aiContextGetTimeSamplingCount(IntPtr)
Declaration
public static int aiContextGetTimeSamplingCount(IntPtr ctx)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
Returns
Type |
Description |
System.Int32 |
|
aiContextGetTopObject(IntPtr)
Declaration
public static aiObject aiContextGetTopObject(IntPtr ctx)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
Returns
aiContextLoad(IntPtr, String)
Declaration
public static Bool aiContextLoad(IntPtr ctx, string path)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
System.String |
path |
|
Returns
aiContextSetConfig(IntPtr, ref aiConfig)
Declaration
public static void aiContextSetConfig(IntPtr ctx, ref aiConfig conf)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
aiConfig |
conf |
|
aiContextUpdateSamples(IntPtr, Double)
Declaration
public static void aiContextUpdateSamples(IntPtr ctx, double time)
Parameters
Type |
Name |
Description |
System.IntPtr |
ctx |
|
System.Double |
time |
|
Create(Int32)
Declaration
public static aiContext Create(int uid)
Parameters
Type |
Name |
Description |
System.Int32 |
uid |
|
Returns
Destroy()
Declaration
DestroyByPath(String)
Declaration
public static void DestroyByPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
GetTimeRange(ref Double, ref Double)
Declaration
public void GetTimeRange(ref double begin, ref double end)
Parameters
Type |
Name |
Description |
System.Double |
begin |
|
System.Double |
end |
|
GetTimeSampling(Int32)
Declaration
public aiTimeSampling GetTimeSampling(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Load(String)
Declaration
public bool Load(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
SetConfig(ref aiConfig)
Declaration
public void SetConfig(ref aiConfig conf)
Parameters
UpdateSamples(Double)
Declaration
public void UpdateSamples(double time)
Parameters
Type |
Name |
Description |
System.Double |
time |
|
Operators
Implicit(aiContext to Boolean)
Declaration
public static implicit operator bool (aiContext v)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.