AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
Float32Array (ArrayBuffer buffer) | |
Float32Array (ArrayBufferView view) | |
Float32Array (ArrayBuffer buffer, EnumDataType dataType) | |
Float32Array (ArrayBuffer buffer, long byteOffset, long byteLength, EnumDataType dataType) | |
Vector3 | GetVec3 (long idx) |
void | SetVec3 (long idx, Vector3 val) |
![]() | |
Float32TypedArray (ArrayBuffer buffer) | |
Float32TypedArray (ArrayBufferView view) | |
Float32TypedArray (ArrayBuffer buffer, EnumDataType dataType) | |
Float32TypedArray (ArrayBuffer buffer, long byteOffset, long byteLength, EnumDataType dataType) | |
float | GetValue (long idx) |
void | SetValue (long idx, float val) |
void | SetItem (long idx, float val) |
void | SetValue (long idx, float x, float y) |
void | SetItem2 (long idx, float x, float y) |
void | SetValue (long idx, float x, float y, float z) |
void | SetItem3 (long idx, float x, float y, float z) |
long | GetItemCount () |
![]() | |
ArrayBufferView (ArrayBuffer buffer, long byteOffset, long byteLength, EnumDataType dataType) | |
long | GetByteOffset () |
long | GetByteLength () |
EnumDataType | GetDataType () |
ArrayBuffer | GetBuffer () |
void | UpdateAddress () |
<> 把ArrayBuffer当作Float32数组来处理。
Vector3 Float32Array.GetVec3 | ( | long | idx | ) |
获取值
idx | 按照float元素计算的索引 |
void Float32Array.SetVec3 | ( | long | idx, |
Vector3 | val ) |
设置值
idx | 按照float元素计算的索引 |
val | Vector3f类型值 |