本文へスキップ

struct_Vertex


title: struct Vertex toc_max_heading_level: 4


struct Vertex

(Niantic.Lightship.Maps.Builders.Performance.Utils.Structs.Vertex)

概要

位置とUV座標のセットで構成される頂点タイプ。

struct Vertex {
// フィールド

readonly float3 Position;
readonly float2 UV;

// メソッド

Vertex(float3 pos, float2 uv);
};

詳細なドキュメント

位置とUV座標のセットで構成される頂点タイプ。

フィールド

位置

readonly float3 Position

Vertex の位置

UV

readonly float2 UV

頂点 のUV座標

メソッド

Vertex

Vertex(float3 pos, float2 uv)

Constructor

    パラメーター

    pos - 新しい 頂点 の位置

    uv - 新しい 頂点 のUV座標