RenderableWidget

class pythreejs.RenderableWidget(**kwargs)[source]

Bases: ipywidgets.widgets.domwidget.DOMWidget

autoClear = Bool(True)

A boolean (True, False) trait.

autoClearColor = Bool(True)

A boolean (True, False) trait.

autoClearDepth = Bool(True)

A boolean (True, False) trait.

autoClearStencil = Bool(True)

A boolean (True, False) trait.

clearColor = Unicode('#000000')

A trait for unicode strings.

clearOpacity = CFloat(1.0)

A casting version of the float trait.

clippingPlanes = List()

An instance of a Python list.

freeze()[source]
gammaFactor = CFloat(2.0)

A casting version of the float trait.

gammaInput = Bool(False)

A boolean (True, False) trait.

gammaOutput = Bool(False)

A boolean (True, False) trait.

localClippingEnabled = Bool(False)

A boolean (True, False) trait.

log(msg)[source]

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

maxMorphNormals = CInt(4)

A casting version of the int trait.

maxMorphTargets = CInt(8)

A casting version of the int trait.

physicallyCorrectLights = Bool(False)

A boolean (True, False) trait.

send_msg(message_type, payload=None)[source]
shadowMap = Instance()

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

sortObject = Bool(True)

A boolean (True, False) trait.

toneMapping = Enum('LinearToneMapping')

An enum whose value must be in a given sequence.

toneMappingExposure = CFloat(1.0)

A casting version of the float trait.

toneMappingWhitePoint = CFloat(1.0)

A casting version of the float trait.