示例#1
0
 void UpdateBuiltInPlane(int nSelIndex)
 {
     NcSpriteFactory.UpdatePlane(m_MeshFilter, m_fUvScale, m_NcSpriteFrameInfos[nSelIndex],
                                 (m_TextureType == TEXTURE_TYPE.TileTexture ? false : m_bTrimCenterAlign), m_AlignType, m_fShowRate);
     NcSpriteFactory.UpdateMeshUVs(m_MeshFilter, m_NcSpriteFrameInfos[nSelIndex].m_TextureUvOffset, m_AlignType,
                                   m_fShowRate);
 }
 void UpdateBuiltInPlane(int nSelIndex)
 {
     NcSpriteFactory.UpdatePlane(m_MeshFilter, m_fUvScale, m_NcSpriteFrameInfos[nSelIndex], m_AlignType);
     NcSpriteFactory.UpdateMeshUVs(m_MeshFilter, m_NcSpriteFrameInfos[nSelIndex].m_TextureUvOffset);
 }
示例#3
0
 private void UpdateBuiltInPlane(int nSelIndex)
 {
     NcSpriteFactory.UpdatePlane(this.m_MeshFilter, this.m_fUvScale, this.m_NcSpriteFrameInfos[nSelIndex], this.m_TextureType != NcSpriteAnimation.TEXTURE_TYPE.TileTexture && this.m_bTrimCenterAlign, this.m_AlignType);
     NcSpriteFactory.UpdateMeshUVs(this.m_MeshFilter, this.m_NcSpriteFrameInfos[nSelIndex].m_TextureUvOffset);
 }
示例#4
0
 private void UpdateBuiltInPlane(int nSelIndex)
 {
     NcSpriteFactory.UpdatePlane(base.m_MeshFilter, this.m_fUvScale, this.m_NcSpriteFrameInfos[nSelIndex], (this.m_TextureType != TEXTURE_TYPE.TileTexture) ? this.m_bTrimCenterAlign : false, this.m_AlignType);
     NcSpriteFactory.UpdateMeshUVs(base.m_MeshFilter, this.m_NcSpriteFrameInfos[nSelIndex].m_TextureUvOffset);
 }