TransformControls class

Inheritance

Constructors

TransformControls(dynamic camera, dynamic domKey)

Properties

autoUpdate bool
getter/setter pairinherited
axis ↔ dynamic
getter/setter pair
background ↔ dynamic
getter/setter pairinherited
bindMatrix Matrix4?
getter/setter pairinherited
camera ↔ dynamic
getter/setter pair
cameraPosition ↔ dynamic
getter/setter pair
cameraQuaternion ↔ dynamic
getter/setter pair
castShadow bool
getter/setter pairinherited
children List<Object3D>
getter/setter pairinherited
count int?
getter/setter pairinherited
customDepthMaterial Material?
  • Custom depth material to be used when rendering to the depth map. Can only be used in context of meshes.
    • When shadow-casting with a DirectionalLight or SpotLight, if you are (a) modifying vertex positions in
      • the vertex shader, (b) using a displacement map, (c) using an alpha map with alphaTest, or (d) using a
      • transparent texture with alphaTest, you must specify a customDepthMaterial for proper shadows.
  • getter/setter pairinherited
    customDistanceMaterial Material?
    getter/setter pairinherited
    domElement ↔ dynamic
    getter/setter pair
    domKey ↔ dynamic
    getter/setter pair
    dragging ↔ dynamic
    getter/setter pair
    enabled ↔ dynamic
    getter/setter pair
    environment Texture?
    getter/setter pairinherited
    extra Map<String, dynamic>
    getter/setter pairinherited
    eye ↔ dynamic
    getter/setter pair
    frustumCulled bool
    getter/setter pairinherited
    geometry BufferGeometry?
    getter/setter pairinherited
    hashCode int
    The hash code for this object.
    no setterinherited
    id int
    getter/setter pairinherited
    instanceColor BufferAttribute<NativeArray<num>>?
    getter/setter pairinherited
    instanceMatrix InstancedBufferAttribute?
    getter/setter pairinherited
    isImmediateRenderObject bool
    getter/setter pairinherited
    isTransformControls bool
    getter/setter pair
    layers Layers
    getter/setter pairinherited
    material ↔ dynamic
    getter/setter pairinherited
    matrix Matrix4
    getter/setter pairinherited
    matrixAutoUpdate bool
    getter/setter pairinherited
    matrixWorld Matrix4
    getter/setter pairinherited
    matrixWorldNeedsUpdate bool
    getter/setter pairinherited
    mode ↔ dynamic
    getter/setter pair
    modelViewMatrix Matrix4
    getter/setter pairinherited
    morphTargetDictionary Map<String, dynamic>?
    getter/setter pairinherited
    morphTargetInfluences List<num>?
    getter/setter pairinherited
    name String
    getter/setter pairinherited
    normalMatrix Matrix3
    getter/setter pairinherited
    object ↔ dynamic
    getter/setter pair
    onBeforeRender Function?
    getter/setter pairinherited
    overrideMaterial Material?
    getter/setter pairinherited
    parent Object3D?
    getter/setter pairinherited
    pointEnd ↔ dynamic
    getter/setter pair
    pointStart ↔ dynamic
    getter/setter pair
    position Vector3
    getter/setter pairinherited
    quaternion Quaternion
    getter/setter pairinherited
    receiveShadow bool
    getter/setter pairinherited
    renderOrder int
    getter/setter pairinherited
    rotation Euler
    getter/setter pairinherited
    rotationAngle ↔ dynamic
    getter/setter pair
    rotationAxis ↔ dynamic
    getter/setter pair
    rotationSnap ↔ dynamic
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    scale Vector3
    getter/setter pairinherited
    scaleSnap ↔ dynamic
    getter/setter pair
    scope ↔ dynamic
    getter/setter pair
    showX ↔ dynamic
    getter/setter pair
    showY ↔ dynamic
    getter/setter pair
    showZ ↔ dynamic
    getter/setter pair
    size ↔ dynamic
    getter/setter pair
    skeleton Skeleton?
    getter/setter pairinherited
    space ↔ dynamic
    getter/setter pair
    tag String?
    getter/setter pairinherited
    translationSnap ↔ dynamic
    getter/setter pair
    type String
    getter/setter pairinherited
    up Vector3
    getter/setter pairinherited
    userData Map<String, dynamic>
    getter/setter pairinherited
    uuid String
    getter/setter pairinherited
    visible bool
    getter/setter pairinherited
    worldPosition ↔ dynamic
    getter/setter pair
    worldPositionStart ↔ dynamic
    getter/setter pair
    worldQuaternion ↔ dynamic
    getter/setter pair
    worldQuaternionStart ↔ dynamic
    getter/setter pair

    Methods

    add(Object3D? object) Object3D
    inherited
    addAll(List<Object3D> objects) Object3D
    inherited
    addEventListener(String type, Function listener) → void
    inherited
    applyMatrix4(Matrix4 matrix) → void
    inherited
    applyQuaternion(Quaternion q) Object3D
    inherited
    attach(Object3D object) Object3D
    override
    clear() Object3D
    inherited
    clearListeners() → void
    inherited
    clone([bool? recursive]) Object3D
    inherited
    copy(Object3D source, [bool? recursive = true]) Object3D
    inherited
    detach() → dynamic
    dispatchEvent(Event event) → void
    inherited
    dispose() → void
    override
    extractFromCache(Map<String, dynamic> cache) List<Map<String, dynamic>>
    inherited
    getMode() → dynamic
    getObjectById(String id) Object3D?
    inherited
    getObjectByName(String name) Object3D?
    inherited
    getObjectByProperty(String name, String value) Object3D?
    inherited
    getPointer(dynamic event) → dynamic
    getProperty(String propertyName) → dynamic
    inherited
    getRaycaster() → dynamic
    getValue(String name) Matrix4?
    inherited
    getWorldDirection(Vector3 target) Vector3
    inherited
    getWorldPosition(Vector3? target) Vector3
    inherited
    getWorldQuaternion(Quaternion target) Quaternion
    inherited
    getWorldScale(Vector3 target) Vector3
    inherited
    hasEventListener(String type, Function? listener) bool
    inherited
    init() → void
    inherited
    intersectObjectWithRay(dynamic object, dynamic raycaster, dynamic includeInvisible) → dynamic
    localToWorld(dynamic vector) → dynamic
    inherited
    lookAt(Vector3 position) → void
    inherited
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    onAfterRender({WebGLRenderer? renderer, dynamic scene, Camera? camera, dynamic geometry, dynamic material, dynamic group}) → void
    inherited
    onPointerDown(dynamic event) → dynamic
    onPointerHover(dynamic event) → dynamic
    onPointerMove(dynamic event) → dynamic
    onPointerUp(dynamic event) → dynamic
    onQuaternionChange() → void
    inherited
    onRotationChange() → void
    inherited
    pointerDown(Pointer pointer) → dynamic
    pointerHover(Pointer pointer) → dynamic
    pointerMove(Pointer pointer) → dynamic
    pointerUp(Pointer pointer) → dynamic
    raycast(Raycaster raycaster, List<Intersection> intersects) → void
    inherited
    remove(Object3D object) Object3D
    inherited
    removeEventListener(String type, Function listener) → void
    inherited
    removeFromParent() Object3D
    inherited
    removeList(List<Object3D> objects) Object3D
    inherited
    rotateOnAxis(dynamic axis, num angle) Object3D
    inherited
    rotateOnWorldAxis(dynamic axis, num angle) Object3D
    inherited
    rotateX(num angle) Object3D
    inherited
    rotateY(num angle) Object3D
    inherited
    rotateZ(num angle) Object3D
    inherited
    serialize(Map<String, dynamic> library, dynamic element, Object3dMeta? meta) → dynamic
    inherited
    setMode(dynamic mode) → dynamic
    setProperty(String propertyName, dynamic value) Object3D
    inherited
    setRotationFromAxisAngle(dynamic axis, num angle) → void
    inherited
    setRotationFromEuler(Euler euler) → void
    inherited
    setRotationFromMatrix(dynamic m) → void
    inherited
    setRotationFromQuaternion(Quaternion q) → void
    inherited
    setRotationSnap(dynamic rotationSnap) → dynamic
    setScaleSnap(dynamic scaleSnap) → dynamic
    setSize(dynamic size) → dynamic
    setSpace(dynamic space) → dynamic
    setTranslationSnap(dynamic translationSnap) → dynamic
    toJSON({Object3dMeta? meta}) Map<String, dynamic>
    inherited
    toString() String
    A string representation of this object.
    inherited
    translateOnAxis(dynamic axis, num distance) Object3D
    inherited
    translateX(dynamic distance) Object3D
    inherited
    translateY(dynamic distance) Object3D
    inherited
    translateZ(dynamic distance) Object3D
    inherited
    traverse(dynamic callback) → void
    inherited
    traverseAncestors(dynamic callback) → void
    inherited
    traverseVisible(dynamic callback) → void
    inherited
    update() → dynamic
    updateMatrix() → void
    inherited
    updateMatrixWorld([bool force = false]) → void
    override
    updateWorldMatrix(bool updateParents, bool updateChildren) → void
    inherited
    worldToLocal(dynamic vector) → dynamic
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited