PySide6.Qt3DRender.Qt3DRender.QScissorTest¶
- class QScissorTest¶
QScissorTest类会丢弃落在屏幕特定矩形区域之外的片段。更多…概要¶
属性¶
方法¶
def
__init__()def
bottom()def
height()def
left()def
width()
插槽¶
def
setBottom()def
setHeight()def
setLeft()def
setWidth()
信号¶
def
bottomChanged()def
heightChanged()def
leftChanged()def
widthChanged()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
一个
QScissorTest类启用了剪刀测试,该测试会丢弃屏幕矩形区域之外的片段,该区域由左、下、宽度和高度属性指定。注意
当使用
from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。- property bottomᅟ: int¶
保存剪刀框的底部坐标。
- Access functions:
- property heightᅟ: int¶
保存剪刀框的高度。
- Access functions:
- property leftᅟ: int¶
保存剪切框的左侧坐标。
- Access functions:
- property widthᅟ: int¶
保存剪刀框的宽度。
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
构造函数使用指定的
parent创建一个新的QScissorTest实例- bottom()¶
- Return type:
整数
另请参阅
setBottom()
属性
bottomᅟ的获取器。- bottomChanged(bottom)¶
- Parameters:
底部 – int
属性
bottomᅟ的通知信号。- height()¶
- Return type:
整数
另请参阅
setHeight()
属性
heightᅟ的获取器。- heightChanged(height)¶
- Parameters:
height – int
属性
heightᅟ的通知信号。- left()¶
- Return type:
整数
另请参阅
setLeft()
属性
leftᅟ的获取器。- leftChanged(left)¶
- Parameters:
left – int
属性
leftᅟ的通知信号。- setBottom(bottom)¶
- Parameters:
底部 – int
另请参阅
bottom()
属性
bottomᅟ的设置器。- setHeight(height)¶
- Parameters:
height – int
另请参阅
height()
属性
heightᅟ的设置器。- setLeft(left)¶
- Parameters:
left – int
另请参阅
left()
属性
leftᅟ的设置器。- setWidth(width)¶
- Parameters:
width – 整数
另请参阅
width()
属性
widthᅟ的设置器。- width()¶
- Return type:
整数
另请参阅
setWidth()
属性
widthᅟ的获取器。- widthChanged(width)¶
- Parameters:
width – 整数
属性
widthᅟ的通知信号。