SONY

mocopi mobile SDK
読み取り中…
検索中…
一致する文字列を見つけられません
Mocopi.Mobile.Sdk.MocopiHeightStruct 構造体

身長設定用構造体
[詳解]

公開メンバ関数

float ConvertFeetAndInchIntoMeter (int feet, int inch)
 フィート/インチからメートルへ変換する。

 
Tuple ConvertMeterIntoFeetAndInch (float meter)
 メートルからフィート/インチへ変換する。

 

静的公開変数類

const float ONE_FEET = 0.3048f
 1フィートあたりのメートル値

 
const float ONE_INCH = 0.0254f
 1インチあたりのメートル値

 

プロパティ

float Meter [get, set]
 身長(meter)

 
int Feet [get, set]
 身長(Feet)

 
int Inch [get, set]
 身長(Inch)

 
EnumHeightUnit Unit [get, set]
 身長の単位

 

詳解

身長設定用構造体

メソッド詳解

◆ ConvertFeetAndInchIntoMeter()

float Mocopi.Mobile.Sdk.MocopiHeightStruct.ConvertFeetAndInchIntoMeter ( int feet,
int inch )

フィート/インチからメートルへ変換する。

引数
feetフィート
inchインチ
戻り値
メートル(m)

◆ ConvertMeterIntoFeetAndInch()

Tuple Mocopi.Mobile.Sdk.MocopiHeightStruct.ConvertMeterIntoFeetAndInch ( float meter)

メートルからフィート/インチへ変換する。

引数
meterメートル
戻り値

フィート/インチ

「Tuple」と表記されているが、実際は「(int feet, int inch)」フィート/インチ。

メンバ詳解

◆ ONE_FEET

const float Mocopi.Mobile.Sdk.MocopiHeightStruct.ONE_FEET = 0.3048f
static

1フィートあたりのメートル値

◆ ONE_INCH

const float Mocopi.Mobile.Sdk.MocopiHeightStruct.ONE_INCH = 0.0254f
static

1インチあたりのメートル値

プロパティ詳解

◆ Feet

int Mocopi.Mobile.Sdk.MocopiHeightStruct.Feet
getset

身長(Feet)

Inch と1セットで使用する。

◆ Inch

int Mocopi.Mobile.Sdk.MocopiHeightStruct.Inch
getset

身長(Inch)

Feet と1セットで使用する。

◆ Meter

float Mocopi.Mobile.Sdk.MocopiHeightStruct.Meter
getset

身長(meter)

◆ Unit

EnumHeightUnit Mocopi.Mobile.Sdk.MocopiHeightStruct.Unit
getset

身長の単位


この構造体詳解は次のファイルから抽出されました:
  • MocopiStruct.cs