Interface: AnnotationScene
Defined in: src/mobjects/annotation/annotationStyle.ts:19
The scene surface an annotation uses. A ThreeDScene provides all of it; a plain Scene provides only the background and the 2D frame, and annotations then work in world coordinates with a static camera.
Properties
backgroundColor
readonlybackgroundColor:object
Defined in: src/mobjects/annotation/annotationStyle.ts:20
getHexString()
getHexString():
string
Returns
string
camera?
readonlyoptionalcamera:unknown
Defined in: src/mobjects/annotation/annotationStyle.ts:24
2D camera frame (plain Scene).
fixedInFrameSize?
readonlyoptionalfixedInFrameSize:object
Defined in: src/mobjects/annotation/annotationStyle.ts:22
HUD frame size (ThreeDScene).
height
height:
number
width
width:
number
Methods
addBeforeRenderHook()?
optionaladdBeforeRenderHook(hook): () =>void
Defined in: src/mobjects/annotation/annotationStyle.ts:27
Parameters
hook
() => void
Returns
():
void
Returns
void
markFixedInFrame()?
optionalmarkFixedInFrame(...mobjects):unknown
Defined in: src/mobjects/annotation/annotationStyle.ts:25
Parameters
mobjects
...Mobject[]
Returns
unknown
projectToFrame()?
optionalprojectToFrame(point):Vector3Tuple
Defined in: src/mobjects/annotation/annotationStyle.ts:26