我翻了一下autodesk的文档,确实没发现。我一般是在运行时去找,autocam拥有:addGlobalPositions: ƒ (e)alignOrbitUpDirection: trueanimateTransition: ƒ (t)bottomLimit: falsecalculateCubeTransform: ƒ (t)camera: o {uuid: '71C54671-296C-4623-8C11-A959D67B81E5', name: '', type: 'Camera', parent: undefined, children: Array(0), …}cameraChangedCallback: ƒ (e)canvas: canvascenter: X.Vector3 {x: -4.5381820995327615, y: -12.888419299673771, z: -112.1975405432137}combined: falseconstrainOrbitHorizontal: falseconstrainOrbitVertical: falsecube: nullcubeFront: X.Vector3 {x: 1, y: -0, z: 0}currentlyAnimating: falsedir: X.Vector3 {x: 0, y: 0, z: -117.1975405432137}doCustomOrbit: falsedrawDropdownMenu: ƒ (e,t,n,i,o,a,s)dtor: ƒ ()endInteraction: ƒ ()getCurrentView: ƒ ()getOrientation: ƒ ()getView: ƒ ()getViewType: ƒ ()getWorldFrontVector: ƒ ()getWorldRightVector: ƒ ()getWorldUpVector: ƒ ()globalManager: e {_window: {…}, _document: {…}, addWindowEventListener: ƒ, removeWindowEventListener: ƒ, addDocumentEventListener: ƒ, …}goHome: ƒ ()goToView: ƒ (e)homeVector: {position: X.Vector3, up: X.Vector3, center: X.Vector3, pivot: X.Vector3, fov: 45, …}isFaceView: ƒ ()lastSnapDir: X.Vector3 {x: 0, y: 0, z: 0}lastSnapRotateX: 0lastSnapRotateY: 0lockDeltaX: 0lockDeltaY: 0lockedX: falselockedY: falselook: ƒ (t)maxSceneBound: 0menuOrigin: X.Vector2 {x: 0, y: 0}menuSize: X.Vector2 {x: 0, y: 0}minSceneBound: 0navApi: o {__options: {…}, __lockSettings: {…}, FIT_TO_VIEW_VERTICAL_MARGIN: 0.05, FIT_TO_VIEW_VERTICAL_OFFSET: 0, FIT_TO_VIEW_HORIZONTAL_MARGIN: 0.05, …}onGlobalOffsetChanged: ƒ (e)orbit: ƒ (t,n,r,a)orbitMultiplier: 5originalHomeVector: {position: X.Vector3, up: X.Vector3, center: X.Vector3, pivot: X.Vector3, fov: 45, …}ortho: falseorthographicFaces: falsepan: ƒ (t)pivot: X.Vector3 {x: 0, y: 0, z: 0}pivotDisplayCallback: ƒ (e)preserveOrbitUpDirection: truerecordTime: truerefresh: ƒ ()registerCallbackCameraChanged: ƒ (e)registerCallbackPivotDisplay: ƒ (e)registerCallbackTransitionCompleted: ƒ (e)removeDropdownMenu: ƒ (e)renderer: "WEBGL"resetHome: ƒ ()resetOrientation: ƒ ()saveCenter: X.Vector3 {x: 0, y: 0, z: -1}saveEye: X.Vector3 {x: 0, y: 0, z: 0}savePivot: X.Vector3 {x: 0, y: 0, z: 0}saveUp: X.Vector3 {x: 0, y: 1, z: 0}sceneFrontDirection: X.Vector3 {x: 0, y: 0, z: -1}sceneUpDirection: X.Vector3 {x: 0, y: 1, z: 0}setCameraOrtho: ƒ (t)setCameraUp: ƒ (t)setCube: ƒ (e)setCurrentViewAsFront: ƒ ()setCurrentViewAsHome: ƒ (e)setCurrentViewAsTop: ƒ ()setHomeViewFrom: ƒ (e)setOrthographicFaces: ƒ (e)setViewType: ƒ (e,t)setWorldUpVector: ƒ (e)shotParams: {destinationPercent: 1, duration: 1, zoomToFitScene: true, useOffAxis: false}showPivot: ƒ (e)snapOrbitAccelerationAX: 1.5snapOrbitAccelerationAY: 1.5snapOrbitAccelerationBX: 2snapOrbitAccelerationBY: 2snapOrbitAccelerationPointX: 0.5snapOrbitAccelerationPointY: 0.5snapOrbitDeadZone: 0.045snapOrbitThresholdH: 0.2617993877991494snapOrbitThresholdV: 0.2617993877991494sphericallyInterpolateTransition: ƒ (t)startInteraction: ƒ (e,t)startState: {}sync: ƒ (t)toOrthographic: ƒ ()toPerspective: ƒ ()topLimit: falsetransitionCompletedCallback: ƒ ()updown: ƒ (t)useSnap: falseuserHeightSpeed: 5userLookSpeed: 2userPanSpeed: 0.5userZoomSpeed: 1.015viewCubeMenuOpen: falsewalk: ƒ (t,n,r,o,a)walkMultiplier: 1zoom: ƒ (t)zoomDelta: X.Vector2 {x: 0, y: 0}
我翻了一下autodesk的文档,确实没发现。
我一般是在运行时去找,autocam拥有:
addGlobalPositions: ƒ (e)
alignOrbitUpDirection: true
animateTransition: ƒ (t)
bottomLimit: false
calculateCubeTransform: ƒ (t)
camera: o {uuid: '71C54671-296C-4623-8C11-A959D67B81E5', name: '', type: 'Camera', parent: undefined, children: Array(0), …}
cameraChangedCallback: ƒ (e)
canvas: canvas
center: X.Vector3 {x: -4.5381820995327615, y: -12.888419299673771, z: -112.1975405432137}
combined: false
constrainOrbitHorizontal: false
constrainOrbitVertical: false
cube: null
cubeFront: X.Vector3 {x: 1, y: -0, z: 0}
currentlyAnimating: false
dir: X.Vector3 {x: 0, y: 0, z: -117.1975405432137}
doCustomOrbit: false
drawDropdownMenu: ƒ (e,t,n,i,o,a,s)
dtor: ƒ ()
endInteraction: ƒ ()
getCurrentView: ƒ ()
getOrientation: ƒ ()
getView: ƒ ()
getViewType: ƒ ()
getWorldFrontVector: ƒ ()
getWorldRightVector: ƒ ()
getWorldUpVector: ƒ ()
globalManager: e {_window: {…}, _document: {…}, addWindowEventListener: ƒ, removeWindowEventListener: ƒ, addDocumentEventListener: ƒ, …}
goHome: ƒ ()
goToView: ƒ (e)
homeVector: {position: X.Vector3, up: X.Vector3, center: X.Vector3, pivot: X.Vector3, fov: 45, …}
isFaceView: ƒ ()
lastSnapDir: X.Vector3 {x: 0, y: 0, z: 0}
lastSnapRotateX: 0
lastSnapRotateY: 0
lockDeltaX: 0
lockDeltaY: 0
lockedX: false
lockedY: false
look: ƒ (t)
maxSceneBound: 0
menuOrigin: X.Vector2 {x: 0, y: 0}
menuSize: X.Vector2 {x: 0, y: 0}
minSceneBound: 0
navApi: o {__options: {…}, __lockSettings: {…}, FIT_TO_VIEW_VERTICAL_MARGIN: 0.05, FIT_TO_VIEW_VERTICAL_OFFSET: 0, FIT_TO_VIEW_HORIZONTAL_MARGIN: 0.05, …}
onGlobalOffsetChanged: ƒ (e)
orbit: ƒ (t,n,r,a)
orbitMultiplier: 5
originalHomeVector: {position: X.Vector3, up: X.Vector3, center: X.Vector3, pivot: X.Vector3, fov: 45, …}
ortho: false
orthographicFaces: false
pan: ƒ (t)
pivot: X.Vector3 {x: 0, y: 0, z: 0}
pivotDisplayCallback: ƒ (e)
preserveOrbitUpDirection: true
recordTime: true
refresh: ƒ ()
registerCallbackCameraChanged: ƒ (e)
registerCallbackPivotDisplay: ƒ (e)
registerCallbackTransitionCompleted: ƒ (e)
removeDropdownMenu: ƒ (e)
renderer: "WEBGL"
resetHome: ƒ ()
resetOrientation: ƒ ()
saveCenter: X.Vector3 {x: 0, y: 0, z: -1}
saveEye: X.Vector3 {x: 0, y: 0, z: 0}
savePivot: X.Vector3 {x: 0, y: 0, z: 0}
saveUp: X.Vector3 {x: 0, y: 1, z: 0}
sceneFrontDirection: X.Vector3 {x: 0, y: 0, z: -1}
sceneUpDirection: X.Vector3 {x: 0, y: 1, z: 0}
setCameraOrtho: ƒ (t)
setCameraUp: ƒ (t)
setCube: ƒ (e)
setCurrentViewAsFront: ƒ ()
setCurrentViewAsHome: ƒ (e)
setCurrentViewAsTop: ƒ ()
setHomeViewFrom: ƒ (e)
setOrthographicFaces: ƒ (e)
setViewType: ƒ (e,t)
setWorldUpVector: ƒ (e)
shotParams: {destinationPercent: 1, duration: 1, zoomToFitScene: true, useOffAxis: false}
showPivot: ƒ (e)
snapOrbitAccelerationAX: 1.5
snapOrbitAccelerationAY: 1.5
snapOrbitAccelerationBX: 2
snapOrbitAccelerationBY: 2
snapOrbitAccelerationPointX: 0.5
snapOrbitAccelerationPointY: 0.5
snapOrbitDeadZone: 0.045
snapOrbitThresholdH: 0.2617993877991494
snapOrbitThresholdV: 0.2617993877991494
sphericallyInterpolateTransition: ƒ (t)
startInteraction: ƒ (e,t)
startState: {}
sync: ƒ (t)
toOrthographic: ƒ ()
toPerspective: ƒ ()
topLimit: false
transitionCompletedCallback: ƒ ()
updown: ƒ (t)
useSnap: false
userHeightSpeed: 5
userLookSpeed: 2
userPanSpeed: 0.5
userZoomSpeed: 1.015
viewCubeMenuOpen: false
walk: ƒ (t,n,r,o,a)
walkMultiplier: 1
zoom: ƒ (t)
zoomDelta: X.Vector2 {x: 0, y: 0}