AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.Uint32Array类 参考

32位无符号整数数组类 更多...

类 AnyCAD.Foundation.Uint32Array 继承关系图:
AnyCAD.Foundation.Uint32TypedArray AnyCAD.Foundation.ArrayBufferView

Public 成员函数

 Uint32Array (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
 Uint32Array (ArrayBuffer buffer)
 
 Uint32Array (ArrayBufferView view)
 
 Uint32Array (ArrayBuffer buffer, EnumDataType dataType)
 
 Uint32Array (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 
- Public 成员函数 继承自 AnyCAD.Foundation.Uint32TypedArray
 Uint32TypedArray (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
 Uint32TypedArray (ArrayBuffer buffer)
 构造函数(使用ArrayBuffer)
 
 Uint32TypedArray (ArrayBufferView view)
 构造函数(使用ArrayBufferView智能指针)
 
 Uint32TypedArray (ArrayBuffer buffer, EnumDataType dataType)
 构造函数(指定数据类型)
 
 Uint32TypedArray (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 构造函数(指定数据区域)
 
uint GetValue (uint idx)
 获取第idx个数据
 
void SetValue (uint idx, uint val)
 设置第idx个的数值
 
void SetItem (uint idx, uint val)
 
void SetValue (uint idx, uint x, uint y)
 设置第idx及其后连续的两个值
 
void SetItem2 (uint idx, uint x, uint y)
 设置第idx及其后连续的两个值(别名方法)
 
void SetValue (uint idx, uint x, uint y, uint z)
 设置第idx及其后连续的三个值
 
void SetItem3 (uint idx, uint x, uint y, uint z)
 设置第idx及其后连续的三个值(别名方法)
 
uint GetItemCount ()
 获取数据项的个数
 
- Public 成员函数 继承自 AnyCAD.Foundation.ArrayBufferView
 ArrayBufferView (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
 ArrayBufferView ()
 默认构造函数
 
 ArrayBufferView (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 构造函数
 
uint GetByteOffset ()
 
uint GetByteLength ()
 
EnumDataType GetDataType ()
 
ArrayBuffer GetBuffer ()
 
void UpdateAddress ()
 更新数据地址
 

详细描述

32位无符号整数数组类

把ArrayBuffer当作uint32_t数组来处理,支持初始化列表和vector构造