|
Panda3D
|
Public Member Functions | |
| __init__ (self, lightPath, objectPath, filmX, filmY) | |
| clear (self) | |
| setGround (self, groundPath) | |
Public Attributes | |
| buffer | |
| camera = Camera('shadowCamera') | |
| cameraPath = self.lightPath.attachNewNode(self.camera) | |
| groundPath = None | |
| lens = OrthographicLens() | |
| lightPath = lightPath | |
| objectPath = objectPath | |
| stage = TextureStage('shadow') | |
| tex = self.buffer.getTexture() | |
Static Public Attributes | |
| int | texXSize = 128 |
| int | texYSize = 128 |
| __init__ | ( | self, | |
| lightPath, | |||
| objectPath, | |||
| filmX, | |||
| filmY ) |
| clear | ( | self | ) |
Undoes the effect of the ShadowCaster.
| setGround | ( | self, | |
| groundPath ) |
Specifies the part of the world that is to be considered the ground: this is the part onto which the rendered texture will be applied.
| buffer |
| camera = Camera('shadowCamera') |
| cameraPath = self.lightPath.attachNewNode(self.camera) |
| groundPath = None |
| lens = OrthographicLens() |
| lightPath = lightPath |
| objectPath = objectPath |
| stage = TextureStage('shadow') |
| tex = self.buffer.getTexture() |
|
static |
|
static |