DepthTexture

class pythreejs.DepthTexture(width=0, height=0, type='UnsignedShortType', wrapS='ClampToEdgeWrapping', wrapT='ClampToEdgeWrapping', magFilter='NearestFilter', minFilter='NearestFilter', anisotropy=1, format='DepthFormat')[source]

DepthTexture

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/textures/DepthTexture

Inherits Texture.

Three.js docs: https://threejs.org/docs/#api/textures/DepthTexture

width
CInt(0, allow_none=False).tag(sync=True)
height
CInt(0, allow_none=False).tag(sync=True)
format
Enum(DepthFormats, "DepthFormat", allow_none=False).tag(sync=True)
type
Enum(DataTypes, "UnsignedShortType", allow_none=False).tag(sync=True)
minFilter
Enum(Filters, "NearestFilter", allow_none=False).tag(sync=True)
magFilter
Enum(Filters, "NearestFilter", allow_none=False).tag(sync=True)
flipY
Bool(False, allow_none=False).tag(sync=True)
generateMipmaps
Bool(False, allow_none=False).tag(sync=True)
flipY = Bool(False)

a boolean

format = Enum('DepthFormat')

any of [‘DepthFormat’, ‘DepthStencilFormat’]

generateMipmaps = Bool(False)

a boolean

height = CInt(0)

an int

magFilter = Enum('NearestFilter')

any of [‘LinearFilter’, ‘LinearMipMapLinearFilter’, ‘LinearMipMapNearestFilter’, ‘NearestFilter’, ‘NearestMipMapLinearFilter’, ‘NearestMipMapNearestFilter’]

minFilter = Enum('NearestFilter')

any of [‘LinearFilter’, ‘LinearMipMapLinearFilter’, ‘LinearMipMapNearestFilter’, ‘NearestFilter’, ‘NearestMipMapLinearFilter’, ‘NearestMipMapNearestFilter’]

type = Enum('UnsignedShortType')

any of [‘ByteType’, ‘FloatType’, ‘HalfFloatType’, ‘IntType’, ‘ShortType’, ‘UnsignedByteType’, ‘UnsignedIntType’, ‘UnsignedShortType’]

width = CInt(0)

an int