public class BillboardStyleBuilder extends StyleBuilder
swigCMemOwn
构造器和说明 |
---|
BillboardStyleBuilder(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
float |
getAttachAnchorPointX()
返回信息板水平附着锚点。
|
float |
getAttachAnchorPointY()
返回信息板的垂直附着锚点。
|
static long |
getCPtr(BillboardStyleBuilder obj) |
float |
getHorizontalOffset()
获取水平偏移量
|
int |
getPlacementPriority()
获取排列优先级
|
float |
getVerticalOffset()
获取竖直偏移量
|
boolean |
isCausesOverlap()
获取是否造成压盖
|
boolean |
isHideIfOverlapped()
获取是否压盖隐藏标志
|
boolean |
isScaleWithDPI()
Returns the state of the scale with DPI flag.
|
void |
setAttachAnchorPoint(float attachAnchorPointX,
float attachAnchorPointY)
设置附加锚固点的信息板。
|
void |
setAttachAnchorPointX(float attachAnchorPointX)
设置信息板的水平附着锚点。
|
void |
setAttachAnchorPointY(float attachAnchorPointY)
设置信息板的垂直附着锚点。
|
void |
setCausesOverlap(boolean causesOverlap)
设置是否导致压盖,如果设置为false,billboard永远不会被隐藏,即使它被其他对象压盖并且压盖隐藏开关设置为true
|
void |
setHideIfOverlapped(boolean hideIfOverlapped)
设置是否压盖隐藏标志。
|
void |
setHorizontalOffset(float horizontalOffset)
设置水平偏移量.
|
void |
setPlacementPriority(int placementPriority)
设置排列优先级,级别高的放在级别低的前面,而不是考虑对象到相机的距离。
|
void |
setScaleWithDPI(boolean scaleWithDPI)
Sets the state of the scale with DPI flag.
|
void |
setVerticalOffset(float verticalOffset)
设置竖直偏移量.
|
static BillboardStyleBuilder |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
public static long getCPtr(BillboardStyleBuilder obj)
protected void finalize()
finalize
在类中 StyleBuilder
public void delete()
delete
在类中 StyleBuilder
public static BillboardStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public float getAttachAnchorPointX()
public void setAttachAnchorPointX(float attachAnchorPointX)
attachAnchorPointX
- 信息板新的水平附着锚点。 -1表示左侧,0表示中心,1表示右侧。默认值是0。public float getAttachAnchorPointY()
public void setAttachAnchorPointY(float attachAnchorPointY)
attachAnchorPointY
- 信息板新的垂直附着锚点。 -1表示底部,0表示中心,1表示顶部。默认值是1。public void setAttachAnchorPoint(float attachAnchorPointX, float attachAnchorPointY)
attachAnchorPointX
- 信息板新的水平附着锚点。 -1表示左侧,0表示中心,1表示右侧。默认值是0。attachAnchorPointY
- 信息板新的垂直附着锚点。 -1表示底部,0表示中心,1表示顶部。默认值是1。public boolean isCausesOverlap()
public void setCausesOverlap(boolean causesOverlap)
causesOverlap
- 是否导致压盖public boolean isHideIfOverlapped()
public void setHideIfOverlapped(boolean hideIfOverlapped)
hideIfOverlapped
- 是否压盖隐藏标志public float getHorizontalOffset()
public void setHorizontalOffset(float horizontalOffset)
horizontalOffset
- 水平偏移量public float getVerticalOffset()
public void setVerticalOffset(float verticalOffset)
verticalOffset
- 竖直偏移量public int getPlacementPriority()
public void setPlacementPriority(int placementPriority)
placementPriority
- 排列优先级public boolean isScaleWithDPI()
public void setScaleWithDPI(boolean scaleWithDPI)
scaleWithDPI
- The new state of the scale with DPI flag.public java.lang.String swigGetClassName()
swigGetClassName
在类中 StyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 StyleBuilder