Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

TransformAccessArray

struct in UnityEngine.Jobs

/

Implemented in:UnityEngine.CoreModule

Suggest a change

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.

Close

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.

Close

Cancel

Description

TransformAccessArray.

Properties

Property Description
capacityReturns array capacity.
isCreatedisCreated.
lengthLength.
this[int]Array indexer.

Constructors

Constructor Description
TransformAccessArrayConstruct a TransformAccessArray with enough memory allocated to hold the specified number of transforms, and with initial length of 0.

Public Methods

Method Description
AddAdd Transform to the end of the TransformAccessArray.
DisposeDispose.
GetTransformHandleGet a TransformHandle for the transform at the specified index in the TransformAccessArray.
RemoveAtSwapBackRemoves an item at index.
SetTransformHandleSet transform at the specified index from the TransformHandle provided.
SetTransformHandlesReplace entire contents of TransformAccessArray with provided transforms.
SetTransformsReplace entire contents of TransformAccessArray with provided transforms.

Static Methods

Method Description
AllocateAllocate.