| 包 | flash.display3D |
| 类 | public final class Context3DStencilAction |
| 继承 | Context3DStencilAction Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
印模操作指定如何更改印模缓冲区中的值。
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| DECREMENT_SATURATE : String = "decrementSaturate" [静态]
递减印模缓冲区值,锁定在 0(最小值)。 | Context3DStencilAction | ||
| DECREMENT_WRAP : String = "decrementWrap" [静态]
递减印模缓冲区值。 | Context3DStencilAction | ||
| INCREMENT_SATURATE : String = "incrementSaturate" [静态]
递增印模缓冲区值,锁定在 255(最大值)。 | Context3DStencilAction | ||
| INCREMENT_WRAP : String = "incrementWrap" [静态]
递增印模缓冲区值。 | Context3DStencilAction | ||
| INVERT : String = "invert" [静态]
反转印模缓冲区值(按位)。 | Context3DStencilAction | ||
| KEEP : String = "keep" [静态]
保持当前印模缓冲区值。 | Context3DStencilAction | ||
| SET : String = "set" [静态]
使用引用值替换印模缓冲区值。 | Context3DStencilAction | ||
| ZERO : String = "zero" [静态]
将印模缓冲区值设置为 0。 | Context3DStencilAction | ||
常量详细信息
DECREMENT_SATURATE | 常量 |
public static const DECREMENT_SATURATE:String = "decrementSaturate"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
递减印模缓冲区值,锁定在 0(最小值)。
DECREMENT_WRAP | 常量 |
public static const DECREMENT_WRAP:String = "decrementWrap"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
递减印模缓冲区值。如果结果小于 0(最小值),则缓冲区值“回绕”至 255。
INCREMENT_SATURATE | 常量 |
public static const INCREMENT_SATURATE:String = "incrementSaturate"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
递增印模缓冲区值,锁定在 255(最大值)。
INCREMENT_WRAP | 常量 |
public static const INCREMENT_WRAP:String = "incrementWrap"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
递增印模缓冲区值。如果结果超过 255(最大值),则缓冲区值“回绕”至 0。
INVERT | 常量 |
public static const INVERT:String = "invert"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
反转印模缓冲区值(按位)。
例如,如果印模缓冲区中的 8 位二进制数为:11110000,则值更改为:00001111。
KEEP | 常量 |
public static const KEEP:String = "keep"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
保持当前印模缓冲区值。
SET | 常量 |
public static const SET:String = "set"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
使用引用值替换印模缓冲区值。
ZERO | 常量 |
public static const ZERO:String = "zero"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3 |
将印模缓冲区值设置为 0。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性