完善demo

This commit is contained in:
caizhitao
2020-01-16 23:27:09 +08:00
parent bfe61e6494
commit f58540ead2
8 changed files with 308 additions and 702 deletions

View File

@@ -20,7 +20,7 @@ CCEffect %{
alphaThreshold: { value: 0.5 }
# 圆角半径
radius: {
value: 0.1,
value: 0.4,
inspector: {
tooltip: "圆角半径",
range: [0.0, 0.5]

View File

@@ -23,7 +23,7 @@ CCEffect %{
# 圆角x轴半径长度相对于纹理宽度
xRadius: {
value: 0.1026,
value: 0.4,
inspector: {
tooltip: "圆角x轴半径长度相对于纹理宽度",
range: [0.0, 0.5]
@@ -32,9 +32,9 @@ CCEffect %{
# 圆角y轴半径长度相对于纹理高度
yRadius: {
value: 0.0741,
value: 0.4,
inspector: {
tooltip: "圆角x轴半径长度(相对于纹理高度)",
tooltip: "圆角y轴半径长度(相对于纹理高度)",
range: [0.0, 0.5]
}
}