C# Class GlTF_Accessor

Inheritance: GlTF_Writer
显示文件 Open project: tparisi/Unity-glTF-Exporter Class Usage Examples

Public Properties

Property Type Description
aType string
bufferView GlTF_BufferView,
byteOffset long
byteStride int
componentType int
count int
max GlTF_Vector3,
min GlTF_Vector3,

Public Methods

Method Description
GlTF_Accessor ( string n ) : UnityEngine
GlTF_Accessor ( string n, string t, string c ) : UnityEngine
Populate ( Vector2 v2s ) : void
Populate ( Vector3 v3s ) : void
Populate ( Vector4 v4s ) : void
Populate ( float vs ) : void
Populate ( int vs, bool flippedTriangle ) : void
Write ( ) : void

Method Details

GlTF_Accessor() public method

public GlTF_Accessor ( string n ) : UnityEngine
n string
return UnityEngine

GlTF_Accessor() public method

public GlTF_Accessor ( string n, string t, string c ) : UnityEngine
n string
t string
c string
return UnityEngine

Populate() public method

public Populate ( Vector2 v2s ) : void
v2s Vector2
return void

Populate() public method

public Populate ( Vector3 v3s ) : void
v3s Vector3
return void

Populate() public method

public Populate ( Vector4 v4s ) : void
v4s Vector4
return void

Populate() public method

public Populate ( float vs ) : void
vs float
return void

Populate() public method

public Populate ( int vs, bool flippedTriangle ) : void
vs int
flippedTriangle bool
return void

Write() public method

public Write ( ) : void
return void

Property Details

aType public_oe property

public string aType
return string

bufferView public_oe property

public GlTF_BufferView, bufferView
return GlTF_BufferView,

byteOffset public_oe property

public long byteOffset
return long

byteStride public_oe property

public int byteStride
return int

componentType public_oe property

public int componentType
return int

count public_oe property

public int count
return int

max public_oe property

public GlTF_Vector3, max
return GlTF_Vector3,

min public_oe property

public GlTF_Vector3, min
return GlTF_Vector3,