FlyControls¶
-
class
pythreejs.FlyControls(controlling=None)[source]¶ FlyControls
Autogenerated by generate-wrappers.js This class is a custom class for pythreejs, with no direct corresponding class in three.js.
Inherits
Controls.Three.js docs: https://threejs.org/docs/#api/controls/FlyControls
-
moveVector¶ Vector3(default_value=[0, 0, 0]).tag(sync=True)
-
rotationVector¶ Vector3(default_value=[0, 0, 0]).tag(sync=True)
-
movementSpeed¶ CFloat(1, allow_none=False).tag(sync=True)
-
rollSpeed¶ CFloat(0.05, allow_none=False).tag(sync=True)
-
syncRate¶ CFloat(1, allow_none=False).tag(sync=True)
-
moveVector = Vector3((0, 0, 0)) a tuple of any type
-
movementSpeed = CFloat(1) a float
-
rollSpeed = CFloat(0.05) a float
-
rotationVector = Vector3((0, 0, 0)) a tuple of any type
-
syncRate = CFloat(1) a float
-