文档

Unity Engine

Unity Engine

stride

Size of one element in the buffer. For index buffers, this must be either 2 or 4 bytes (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int stride { get; }

Remarks

Additional Resources: GraphicsBuffer.count.