Contents Menu Expand Light mode Dark mode Auto light/dark mode Skip to content
Manim Community v0.18.1
Light Logo Dark Logo
Manim Community v0.18.1
  • 示例图库
  • 安装
    • Conda
    • Windows
    • macOS
    • Linux
    • Docker
    • Jupyter Notebooks
  • Tutorials & Guides
    • Tutorials
      • 快速入门
      • Manim的输出设置
      • Manim的构建模块
    • Thematic Guides
      • 配置
      • 深入探讨Manim的内部机制
      • 渲染文本和公式
      • 为视频添加旁白
    • 常见问题
      • FAQ: 一般用法
      • 常见问题:获取帮助
      • FAQ: 安装
      • 我在哪里可以了解更多关于Manim内部结构的信息?
      • FAQ: OpenGL 渲染
  • 参考手册
    • 动画
      • animation
        • 动画
        • 等待
      • changing
        • AnimatedBoundary
        • TracedPath
      • composition
        • AnimationGroup
        • LaggedStart
        • LaggedStartMap
        • Succession
      • 创建
        • AddTextLetterByLetter
        • AddTextWordByWord
        • 创建
        • DrawBorderThenFill
        • RemoveTextLetterByLetter
        • ShowIncreasingSubsets
        • ShowPartial
        • ShowSubmobjectsOneByOne
        • SpiralIn
        • Uncreate
        • Unwrite
        • 写
      • fading
        • FadeIn
        • FadeOut
      • growing
        • GrowArrow
        • GrowFromCenter
        • GrowFromEdge
        • GrowFromPoint
        • SpinInFromNothing
      • indication
        • ApplyWave
        • Circumscribe
        • Flash
        • FocusOn
        • Indicate
        • ShowPassingFlash
        • ShowPassingFlashWithThinningStrokeWidth
        • Wiggle
      • movement
        • ComplexHomotopy
        • 同伦
        • MoveAlongPath
        • PhaseFlow
        • SmoothedVectorizedHomotopy
      • numbers
        • ChangeDecimalToValue
        • ChangingDecimal
      • rotation
        • 旋转
        • 旋转
      • specialized
        • Broadcast
      • speedmodifier
        • ChangeSpeed
      • transform
        • ApplyComplexFunction
        • ApplyFunction
        • ApplyMatrix
        • ApplyMethod
        • ApplyPointwiseFunction
        • ApplyPointwiseFunctionToCenter
        • ClockwiseTransform
        • CounterclockwiseTransform
        • CyclicReplace
        • FadeToColor
        • FadeTransform
        • FadeTransformPieces
        • MoveToTarget
        • ReplacementTransform
        • 恢复
        • ScaleInPlace
        • ShrinkToCenter
        • 交换
        • Transform
        • TransformAnimations
        • TransformFromCopy
      • transform_matching_parts
        • TransformMatchingAbstractBase
        • TransformMatchingShapes
        • TransformMatchingTex
      • updaters
        • mobject_update_utils
        • update
          • MaintainPositionRelativeTo
          • UpdateFromAlphaFunc
          • UpdateFromFunc
    • 相机
      • camera
        • BackgroundColoredVMobjectDisplayer
        • Camera
      • mapping_camera
        • MappingCamera
        • OldMultiCamera
        • SplitScreenCamera
      • moving_camera
        • MovingCamera
      • multi_camera
        • MultiCamera
      • three_d_camera
        • ThreeDCamera
    • 配置
      • _config
      • utils
        • ManimConfig
        • ManimFrame
      • logger_utils
        • JSONFormatter
    • Mobjects
      • frame
        • FullScreenRectangle
        • ScreenRectangle
      • geometry
        • arc
          • AnnotationDot
          • AnnularSector
          • Annulus
          • Arc
          • ArcBetweenPoints
          • ArcPolygon
          • ArcPolygonFromArcs
          • Circle
          • CubicBezier
          • CurvedArrow
          • CurvedDoubleArrow
          • Dot
          • Ellipse
          • LabeledDot
          • Sector
          • TipableVMobject
        • boolean_ops
          • 差异
          • 排除
          • Intersection
          • Union
        • labeled
          • LabeledArrow
          • LabeledLine
        • line
          • Angle
          • Arrow
          • DashedLine
          • DoubleArrow
          • Elbow
          • Line
          • RightAngle
          • TangentLine
          • Vector
        • polygram
          • Cutout
          • Polygon
          • Polygram
          • Rectangle
          • RegularPolygon
          • RegularPolygram
          • RoundedRectangle
          • Square
          • Star
          • Triangle
        • shape_matchers
          • BackgroundRectangle
          • Cross
          • SurroundingRectangle
          • 下划线
        • tips
          • ArrowCircleFilledTip
          • ArrowCircleTip
          • ArrowSquareFilledTip
          • ArrowSquareTip
          • ArrowTip
          • ArrowTriangleFilledTip
          • ArrowTriangleTip
          • StealthTip
      • graph
        • DiGraph
        • GenericGraph
        • Graph
        • LayoutFunction
      • graphing
        • coordinate_systems
          • Axes
          • ComplexPlane
          • CoordinateSystem
          • NumberPlane
          • PolarPlane
          • ThreeDAxes
        • functions
          • FunctionGraph
          • ImplicitFunction
          • ParametricFunction
        • number_line
          • NumberLine
          • UnitInterval
        • probability
          • BarChart
          • SampleSpace
        • scale
          • LinearBase
          • LogBase
      • logo
        • ManimBanner
      • matrix
        • DecimalMatrix
        • IntegerMatrix
        • Matrix
        • MobjectMatrix
      • mobject
        • Group
        • Mobject
      • svg
        • brace
          • ArcBrace
          • Brace
          • BraceBetweenPoints
          • BraceLabel
          • BraceText
        • svg_mobject
          • SVGMobject
          • VMobjectFromSVGPath
      • table
        • DecimalTable
        • IntegerTable
        • MathTable
        • MobjectTable
        • 表格
      • text
        • code_mobject
          • Code
        • numbers
          • DecimalNumber
          • Integer
          • 变量
        • tex_mobject
          • BulletedList
          • MathTex
          • SingleStringMathTex
          • Tex
          • 标题
        • text_mobject
          • MarkupText
          • 段落
          • Text
      • three_d
        • 多面体
          • Dodecahedron
          • Icosahedron
          • 八面体
          • Polyhedron
          • Tetrahedron
        • three_d_utils
        • three_dimensions
          • Arrow3D
          • Cone
          • Cube
          • Cylinder
          • Dot3D
          • Line3D
          • Prism
          • Sphere
          • Surface
          • ThreeDVMobject
          • Torus
      • types
        • image_mobject
          • AbstractImageMobject
          • ImageMobject
          • ImageMobjectFromCamera
        • point_cloud_mobject
          • Mobject1D
          • Mobject2D
          • PGroup
          • PMobject
          • Point
          • PointCloudDot
        • vectorized_mobject
          • CurvesAsSubmobjects
          • DashedVMobject
          • VDict
          • VGroup
          • VMobject
          • VectorizedPoint
      • utils
      • value_tracker
        • ComplexValueTracker
        • ValueTracker
      • vector_field
        • ArrowVectorField
        • StreamLines
        • VectorField
    • 场景
      • moving_camera_scene
        • MovingCameraScene
      • section
        • DefaultSectionType
        • 部分
      • 场景
        • RerunSceneHandler
        • 场景
      • scene_file_writer
        • SceneFileWriter
      • three_d_scene
        • SpecialThreeDScene
        • ThreeDScene
      • vector_space_scene
        • LinearTransformationScene
        • VectorScene
      • zoomed_scene
        • ZoomedScene
    • 实用工具和其他模块
      • bezier
      • color
        • core
          • ManimColor
        • manim_colors
        • AS2700
        • BS381
        • XKCD
        • X11
      • commands
      • config_ops
        • DictAsObject
      • constants
        • CapStyleType
        • LineJointType
        • RendererType
      • debug
      • deprecation
      • docbuild
        • autoaliasattr_directive
          • AliasAttrDocumenter
        • autocolor_directive
          • ManimColorModuleDocumenter
        • manim_directive
          • ManimDirective
          • SkipManimNode
        • module_parsing
      • hashing
      • images
      • ipython_magic
        • ManimMagic
      • iterables
      • paths
      • rate_functions
      • simple_functions
      • sounds
      • space_ops
      • testing
        • _frames_testers
        • _show_diff
        • _test_class_makers
          • DummySceneFileWriter
      • tex
        • TexTemplate
      • tex_file_writing
      • tex_templates
        • TexFontTemplates
        • TexTemplateLibrary
      • typing
  • 插件
  • 更新日志
    • v0.18.0
    • v0.17.3
    • v0.17.2
    • v0.17.1
    • v0.17.0
    • v0.16.0
    • v0.15.2
    • v0.15.1
    • v0.15.0
    • v0.14.0
    • v0.13.1
    • v0.13.0
    • v0.12.0
    • v0.11.0
    • v0.10.0
    • v0.9.0
    • v0.8.0
    • v0.7.0
    • v0.6.0
    • v0.5.0
    • v0.4.0
    • v0.3.0
    • v0.2.0
    • v0.1.1
    • v0.1.0
  • 贡献
    • Manim 开发流程
    • 添加文档
      • 添加警告
      • 添加文档字符串
      • 添加示例
      • 添加引用
      • 添加类型
    • 添加测试
    • 提高性能
    • 国际化
  • 行为准则
Back to top

更新¶

更新mobjects的动画。

类

MaintainPositionRelativeTo

UpdateFromAlphaFunc

UpdateFromFunc

update_function 的形式为 func(mobject),通常用于当一个 mobject 的状态依赖于另一个同时动画的 mobject 时。

Next
MaintainPositionRelativeTo
Previous
mobject_update_utils
Copyright © 2020-2024, The Manim Community Dev Team
Made with Sphinx and @pradyunsg's Furo