开发者参考
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
Preloader
→
SimplePreloader
实现简单的旋转预加载器。检查Verge3D播放器应用程序来查看它的效果。
构造函数
SimplePreloader(
parameters
)
parameters
— 具有定义预加载器行为的属性的对象。除了container之外的所有参数都被认为是可选的。 有效参数如下:
container
— 创建的预加载器使用的容器元素或容器元素ID。
imageRotationSpeed
— 图片旋转速度 (度每秒).
方法
简单的预加载器覆盖实现图像动画和清除逻辑的
Preloader
方法。
<div><img src="https://mc.yandex.ru/watch/46001298" style="position:absolute; left:-9999px;" alt="" /></div>