本文整理汇总了Java中org.andengine.entity.text.vbo.ITextVertexBufferObject类的典型用法代码示例。如果您正苦于以下问题:Java ITextVertexBufferObject类的具体用法?Java ITextVertexBufferObject怎么用?Java ITextVertexBufferObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITextVertexBufferObject类属于org.andengine.entity.text.vbo包,在下文中一共展示了ITextVertexBufferObject类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: Text
import org.andengine.entity.text.vbo.ITextVertexBufferObject; //导入依赖的package包/类
public Text(final float pX, final float pY, final IFont pFont, final CharSequence pText, final int pCharactersMaximum, final TextOptions pTextOptions, final ITextVertexBufferObject pTextVertexBufferObject, final ShaderProgram pShaderProgram) {
super(pX, pY, pShaderProgram);
this.mFont = pFont;
this.mTextOptions = pTextOptions;
this.mCharactersMaximum = pCharactersMaximum;
this.mVertexCount = Text.VERTICES_PER_LETTER * this.mCharactersMaximum;
this.mTextVertexBufferObject = pTextVertexBufferObject;
this.onUpdateColor();
this.setText(pText);
this.setBlendingEnabled(true);
this.initBlendFunction(this.mFont.getTexture());
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:16,代码来源:Text.java
示例2: Text
import org.andengine.entity.text.vbo.ITextVertexBufferObject; //导入依赖的package包/类
public Text(final float pX, final float pY, final IFont pFont, final CharSequence pText, final int pCharactersMaximum, final TextOptions pTextOptions, final ITextVertexBufferObject pTextVertexBufferObject, final ShaderProgram pShaderProgram) {
super(pX, pY, 0, 0, pShaderProgram);
this.mFont = pFont;
this.mTextOptions = pTextOptions;
this.mCharactersMaximum = pCharactersMaximum;
this.mVertexCount = Text.VERTICES_PER_LETTER * this.mCharactersMaximum;
this.mTextVertexBufferObject = pTextVertexBufferObject;
this.onUpdateColor();
this.setText(pText);
this.setBlendingEnabled(true);
this.initBlendFunction(this.mFont.getTexture());
}
开发者ID:peterchaula,项目名称:ClassicF1,代码行数:16,代码来源:Text.java
示例3: TextMenuItem
import org.andengine.entity.text.vbo.ITextVertexBufferObject; //导入依赖的package包/类
public TextMenuItem(final int pID, final IFont pFont, final CharSequence pText, final int pCharactersMaximum, final TextOptions pTextOptions, final ITextVertexBufferObject pTextVertexBufferObject) {
super(0, 0, pFont, pText, pCharactersMaximum, pTextOptions, pTextVertexBufferObject);
this.mID = pID;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:TextMenuItem.java
示例4: getVertexBufferObject
import org.andengine.entity.text.vbo.ITextVertexBufferObject; //导入依赖的package包/类
@Override
public ITextVertexBufferObject getVertexBufferObject() {
return this.mTextVertexBufferObject;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:Text.java
注:本文中的org.andengine.entity.text.vbo.ITextVertexBufferObject类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论