AR_Engine_SDK
|
#include <XE3DTextureComponent.h>
函数 | |
function XE3DTextureComponent | new () end |
function XE3DTextureComponent | SetRenderTexture (pTexture, bReleaseOld) end |
function XE3DTextureComponent | GetAssetPath () end |
function XE3DTextureComponent | SetPinToScreen (bSet) end |
function XE3DTextureComponent | IsPinToScreen () end |
function XE3DTextureComponent | SetFaceViewportCamera (bSet) end |
function XE3DTextureComponent | IsFaceViewportCamera () end |
function XE3DTextureComponent | BuildVertices () end |
function XE3DTextureComponent | ResetAndBuildStanderData (fScale, eTexcoordOriginType) end |
function XE3DTextureComponent | IsVertiesAndIndiesValid () end |
function XE3DTextureComponent | IsDataValid () end |
function XE3DTextureComponent | UpdateRenderVertiesAndIndies (pViewport) end |
function XE3DTextureComponent | SetPivotVerticalType (eType) end |
function XE3DTextureComponent | GetPivotVerticalType () end |
function XE3DTextureComponent | GetVertexLocalLocation (nVertIndex) end |
function XE3DTextureComponent | GetVertexLocation (nVertIndex) end |
变量 | |
XE3DTextureComponent = {} | |
function XE3DTextureComponent BuildVertices | ( | ) |
构建纹理的顶点坐标
function XE3DTextureComponent GetAssetPath | ( | ) |
获取资源路径
function XE3DTextureComponent GetPivotVerticalType | ( | ) |
获取支点在竖直方向的类型
function XE3DTextureComponent GetVertexLocalLocation | ( | nVertIndex | ) |
function XE3DTextureComponent GetVertexLocation | ( | nVertIndex | ) |
function XE3DTextureComponent IsDataValid | ( | ) |
数据是否有效,用于纹理的顶点坐标和纹理坐标构建
function XE3DTextureComponent IsFaceViewportCamera | ( | ) |
空间纹理是否面向相机
function XE3DTextureComponent IsPinToScreen | ( | ) |
空间纹理是否保持在相机视图空间里不变(在屏幕位置不变)
function XE3DTextureComponent IsVertiesAndIndiesValid | ( | ) |
顶点和索引数据是否有效
function XE3DTextureComponent new | ( | ) |
XE3DTextureComponent_new00
function XE3DTextureComponent ResetAndBuildStanderData | ( | fScale | , |
eTexcoordOriginType | |||
) |
重置并构建标准的四方网格数据,用于纹理的顶点坐标和纹理坐标构建
fScale | number |
eTexcoordOriginType | number |
function XE3DTextureComponent SetFaceViewportCamera | ( | bSet | ) |
设置空间纹理面向相机
bSet | boolean |
function XE3DTextureComponent SetPinToScreen | ( | bSet | ) |
设置空间纹理保持在相机视图空间里不变(即在屏幕位置不变)
bSet | boolean |
function XE3DTextureComponent SetPivotVerticalType | ( | eType | ) |
设置支点在竖直方向的类型
eType | number 类型 |
function XE3DTextureComponent SetRenderTexture | ( | pTexture | , |
bReleaseOld | |||
) |
function XE3DTextureComponent UpdateRenderVertiesAndIndies | ( | pViewport | ) |
XE3DTextureComponent = {} |