setIsTouchableFlags method

Sp3dObj setIsTouchableFlags(
  1. bool isTouchable
)

(en)Change the isTouchable flag of all fragments of this object.

(ja)このオブジェクトの全てのフラグメントのタッチ可能フラグを一括で変更します。

  • isTouchable : If false, rendered this object will be excluded from touche calculation.

Returns: This object.

Implementation

Sp3dObj setIsTouchableFlags(bool isTouchable) {
  for (Sp3dFragment i in fragments) {
    i.isTouchable = isTouchable;
  }
  return this;
}