Unity - Scripting API: TransformAccessArray
struct in UnityEngine.Jobs
/
Implemented in:UnityEngine.CoreModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
TransformAccessArray.
Constructors
| Constructor | Description |
|---|---|
| TransformAccessArray | Construct a TransformAccessArray with enough memory allocated to hold the specified number of transforms, and with initial length of 0. |
Public Methods
| Method | Description |
|---|---|
| Add | Add Transform to the end of the TransformAccessArray. |
| Dispose | Dispose. |
| GetTransformHandle | Get a TransformHandle for the transform at the specified index in the TransformAccessArray. |
| RemoveAtSwapBack | Removes an item at index. |
| SetTransformHandle | Set transform at the specified index from the TransformHandle provided. |
| SetTransformHandles | Replace entire contents of TransformAccessArray with provided transforms. |
| SetTransforms | Replace entire contents of TransformAccessArray with provided transforms. |
Static Methods
| Method | Description |
|---|---|
| Allocate | Allocate. |