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)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
position | keyword-only | Not annotated | (0, 0, 5) |
rotation | keyword-only | Not annotated | (1, 0, 0, 0) |
vertical_fov | keyword-only | Not annotated | 1 |
near | keyword-only | Not annotated | 0.1 |
far | keyword-only | Not annotated | 100 |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
SpatialScene.point_light
SpatialScene.point_light(self, position=(4, -3, 6), color=_base.WHITE, intensity=1)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
position | positional or keyword | Not annotated | (4, -3, 6) |
color | positional or keyword | Not annotated | _base.WHITE |
intensity | positional or keyword | Not annotated | 1 |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
SpatialScene.add_world_mobjects
SpatialScene.add_world_mobjects(self, *mobjects)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobjects | *args | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
SpatialScene.add_fixed_in_frame_mobjects
SpatialScene.add_fixed_in_frame_mobjects(self, *mobjects)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobjects | *args | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
SpatialScene.add_fixed_orientation_mobjects
SpatialScene.add_fixed_orientation_mobjects(self, *mobjects)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobjects | *args | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
SpatialScene.set_world_transform
SpatialScene.set_world_transform(self, mobject, *, translation=(0, 0, 0), rotation=(1, 0, 0, 0), scale=(1, 1, 1))
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobject | positional or keyword | Not annotated | No default |
translation | keyword-only | Not annotated | (0, 0, 0) |
rotation | keyword-only | Not annotated | (1, 0, 0, 0) |
scale | keyword-only | Not annotated | (1, 1, 1) |
Return annotation: Not annotated
Set one typed spatial Mobject's authored pose without playback.
SpatialScene.shift_world
SpatialScene.shift_world(self, mobject, vector)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
mobject | positional or keyword | Not annotated | No default |
vector | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.