On this page

SpatialScene

from noon import SpatialScene

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: _base.Scene. Declared members follow; inherited and dynamically attached members are not expanded.

One Scene/canvas with an explicit perspective camera and indexed meshes.

SpatialScene.__init__

SpatialScene.__init__(self, *, position=(0, 0, 5), rotation=(1, 0, 0, 0), vertical_fov=1, near=0.1, far=100)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
positionkeyword-onlyNot annotated(0, 0, 5)
rotationkeyword-onlyNot annotated(1, 0, 0, 0)
vertical_fovkeyword-onlyNot annotated1
nearkeyword-onlyNot annotated0.1
farkeyword-onlyNot annotated100

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

SpatialScene.point_light

SpatialScene.point_light(self, position=(4, -3, 6), color=_base.WHITE, intensity=1)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
positionpositional or keywordNot annotated(4, -3, 6)
colorpositional or keywordNot annotated_base.WHITE
intensitypositional or keywordNot annotated1

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

SpatialScene.add_world_mobjects

SpatialScene.add_world_mobjects(self, *mobjects)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjects*argsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

SpatialScene.add_fixed_in_frame_mobjects

SpatialScene.add_fixed_in_frame_mobjects(self, *mobjects)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjects*argsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

SpatialScene.add_fixed_orientation_mobjects

SpatialScene.add_fixed_orientation_mobjects(self, *mobjects)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjects*argsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

SpatialScene.set_world_transform

SpatialScene.set_world_transform(self, mobject, *, translation=(0, 0, 0), rotation=(1, 0, 0, 0), scale=(1, 1, 1))
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjectpositional or keywordNot annotatedNo default
translationkeyword-onlyNot annotated(0, 0, 0)
rotationkeyword-onlyNot annotated(1, 0, 0, 0)
scalekeyword-onlyNot annotated(1, 1, 1)

Return annotation: Not annotated

Set one typed spatial Mobject's authored pose without playback.

Source declaration

SpatialScene.shift_world

SpatialScene.shift_world(self, mobject, vector)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjectpositional or keywordNot annotatedNo default
vectorpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration