setBoneTransform method
- @JSExport()
- ThermionEntity entity,
- int boneIndex,
- JSArray<
JSNumber> transform, - int skinIndex,
Implementation
@JSExport()
JSPromise setBoneTransform(ThermionEntity entity, int boneIndex,
JSArray<JSNumber> transform, int skinIndex) {
return viewer
.setBoneTransform(
entity,
boneIndex,
Matrix4.fromList(
transform.toDart.map((v) => v.toDartDouble).toList()),
skinIndex: skinIndex)
.toJS;
}