LightOccluder2D
继承
简要描述
遮挡由Light2D投射的光线,投射阴影。
描述
遮挡由Light2D投射的光线,投射阴影。LightOccluder2D必须提供OccluderPolygon2D用来计算阴影。
成员
类型 | 属性名 | 默认值 |
---|---|---|
int | light_mask | 1 |
OccluderPolygon2D | occluder |
成员说明
- int light_mask
Default | 1 |
---|---|
setter | set_occluder_light_mask(value) |
getter | get_occluder_light_mask |
- OccluderPolygon2D occluder
setter | set_occluder_polygon(value) |
---|---|
getter | get_occluder_polygon |