Class SpriteDataAccessExtensions
Inheritance
SpriteDataAccessExtensions
Assembly: UnityEngine.dll
Syntax
public static class SpriteDataAccessExtensions
Methods
|
Improve this Doc
View Source
GetBindPoses(Sprite)
Declaration
public static NativeArray<Matrix4x4> GetBindPoses(this Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
|
Improve this Doc
View Source
GetBones(Sprite)
Declaration
public static SpriteBone[] GetBones(this Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
|
Improve this Doc
View Source
GetBoneWeights(Sprite)
Declaration
public static NativeArray<BoneWeight> GetBoneWeights(this Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
|
Improve this Doc
View Source
GetIndices(Sprite)
Declaration
public static NativeArray<ushort> GetIndices(this Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
|
Improve this Doc
View Source
GetVertexAttribute<T>(Sprite, VertexAttribute)
Declaration
public static NativeSlice<T> GetVertexAttribute<T>(this Sprite sprite, VertexAttribute channel)
where T : struct
Parameters
Returns
Type Parameters
GetVertexCount(Sprite)
Declaration
public static int GetVertexCount(this Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns
HasVertexAttribute(Sprite, VertexAttribute)
Declaration
public static bool HasVertexAttribute(this Sprite sprite, VertexAttribute channel)
Parameters
Returns
|
Improve this Doc
View Source
SetBindPoses(Sprite, NativeArray<Matrix4x4>)
Declaration
public static void SetBindPoses(this Sprite sprite, NativeArray<Matrix4x4> src)
Parameters
|
Improve this Doc
View Source
SetBones(Sprite, SpriteBone[])
Declaration
public static void SetBones(this Sprite sprite, SpriteBone[] src)
Parameters
|
Improve this Doc
View Source
SetBoneWeights(Sprite, NativeArray<BoneWeight>)
Declaration
public static void SetBoneWeights(this Sprite sprite, NativeArray<BoneWeight> src)
Parameters
|
Improve this Doc
View Source
SetIndices(Sprite, NativeArray<UInt16>)
Declaration
public static void SetIndices(this Sprite sprite, NativeArray<ushort> src)
Parameters
|
Improve this Doc
View Source
SetVertexAttribute<T>(Sprite, VertexAttribute, NativeArray<T>)
Declaration
public static void SetVertexAttribute<T>(this Sprite sprite, VertexAttribute channel, NativeArray<T> src)
where T : struct
Parameters
Type Parameters
SetVertexCount(Sprite, Int32)
Declaration
public static void SetVertexCount(this Sprite sprite, int count)
Parameters