开发者参考
x
程序员指南
开发者套件
编程基础
与React.js/Vue.js集成
服务器端渲染
动画系统
画线
矩阵变换
更新内容
如何获取资源
动画
AnimationAction
AnimationClip
AnimationMixer
AnimationUtils
KeyframeTrack
NumberKeyframeTrack
QuaternionKeyframeTrack
VectorKeyframeTrack
应用
App
AppUtils
音频
Audio
AudioContext
AudioListener
PositionalAudio
摄影机
ArrayCamera
Camera
CubeCamera
OrthographicCamera
PerspectiveCamera
常量
Animation
Controls
Core
CustomBlendingEquation
Lights
Materials
Renderer
Textures
约束
CanvasBreakpointsConstraint
CanvasFitConstraint
ChildOfConstraint
Constraint
CopyLocationConstraint
CopyRotationConstraint
CopyScaleConstraint
CopyTransformsConstraint
DampedTrackConstraint
FixOrthoZoomConstraint
FloorConstraint
LimitDistanceConstraint
LimitLocationConstraint
LimitRotationConstraint
LimitScaleConstraint
LockedTrackConstraint
TargetConstraint
TrackToConstraint
控制
KeyListener
OrbitControls
核心
BufferAttribute
BufferGeometry
Clock
Detector
EventDispatcher
Geometry
Layers
Object3D
Raycaster
Uniform
核心 / BufferAttributes
BufferAttribute Types
附件
CubicBezierCurve
Curve
CurvePath
Earcut
EllipseCurve
Font
ImageUtils
Interpolations
LineCurve
MeshLine
MeshLineIndexed
PMREMGenerator
Path
Preloader
PuzzlesLoader
QuadraticBezierCurve
Shape
ShapePath
ShapeUtils
SimplePreloader
SplineCurve
几何体
BoxGeometry
CircleGeometry
ConeGeometry
CylinderGeometry
EdgesGeometry
ExtrudeGeometry
IcosahedronGeometry
PlaneGeometry
PolyhedronGeometry
RingGeometry
ShapeGeometry
SphereGeometry
TextGeometry
TorusGeometry
TubeGeometry
WireframeGeometry
辅助对象
ArrowHelper
AxesHelper
BoxHelper
Box3Helper
CameraHelper
DirectionalLightHelper
GridHelper
PolarGridHelper
PlaneHelper
PointLightHelper
RectAreaLightHelper
SkeletonHelper
SpotLightHelper
灯光
AmbientLight
CubeReflectionProbe
DirectionalLight
Light
LightShadow
PointLight
PointLightShadow
RectAreaLight
SpotLight
SpotLightShadow
加载器
AudioLoader
Cache
CompressedTextureLoader
DataTextureLoader
DefaultLoadingManager
FileLoader
ImageBitmapLoader
ImageLoader
GLTFLoader
Loader
LoaderUtils
LoadingManager
TextureLoader
材质
LineBasicMaterial
Material
MaterialUtils
MeshBasicMaterial
MeshDepthMaterial
MeshDistanceMaterial
MeshLineMaterial
MeshNodeMaterial
MeshNormalMaterial
MeshStandardMaterial
PointsMaterial
RawShaderMaterial
ShaderMaterial
ShadowMaterial
SpriteMaterial
数学
Box2
Box3
Color
CubicInterpolant
DiscreteInterpolant
Euler
Frustum
Interpolant
LinearInterpolant
Line3
MathUtils
Matrix3
Matrix4
Plane
Quaternion
QuaternionLinearInterpolant
Ray
Sphere
Spherical
Triangle
Vector2
Vector3
Vector4
对象
Annotation
AnnotationControl
Bone
Group
Line
LineHTML
LineLoop
LineSegments
Mesh
Points
Skeleton
SkinnedMesh
Sprite
渲染器
RenderUtils
WebGLCubeRenderTarget
WebGLRenderer
WebGLRenderTarget
场景
Fog
FogExp2
Scene
SceneUtils
纹理贴图
CanvasTexture
CompressedTexture
CubeTexture
DataTexture
DepthTexture
Texture
VideoTexture
TargetConstraint
→
CopyScaleConstraint
使受约束对象继承目标缩放的约束。
约束通过影响对象的位置、旋转和缩放来建立对象之间的各种关系。可与
Object3D.constraints
属性一起使用。
构造函数
CopyScaleConstraint(
target
)
属性
共有属性请参见其基类
TargetConstraint
。
#
.
isCopyScaleConstraint
:
Boolean
用于检查此类或派生类是否为复制缩放约束。 默认为
true
。
#
.
type
:
String
约束的类型。等同于 "CopyScaleConstraint"。
方法
共有方法请参见其基类
TargetConstraint
。
<div><img src="https://mc.yandex.ru/watch/46001298" style="position:absolute; left:-9999px;" alt="" /></div>