ドキュメント

Unity Engine

Unity Engine

TryGetProperty

Retrieves the value of a specified camera property.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetProperty(string, float)

Retrieves the value of a specified camera property.
public bool TryGetProperty(string propertyName, out float value)

Parameters

propertyName

Name of the property.

value

The retrieved value.

Returns

Type

Description

boolReturns true if the property exists on the camera. Returns false otherwise.

TryGetProperty(string, Vector4)

Retrieves the value of a specified camera property.
public bool TryGetProperty(string propertyName, out Vector4 value)

Parameters

propertyName

Name of the property.

value

The retrieved value.

Returns

Type

Description

boolReturns true if the property exists on the camera. Returns false otherwise.

TryGetProperty(string, string)

Retrieves the value of a specified camera property.
public bool TryGetProperty(string propertyName, out string value)

Parameters

propertyName

Name of the property.

value

The retrieved value.

Returns

Type

Description

boolReturns true if the property exists on the camera. Returns false otherwise.

TryGetProperty(string, int)

Retrieves the value of a specified camera property.
public bool TryGetProperty(string propertyName, out int value)

Parameters

propertyName

Name of the property.

value

The retrieved value.

Returns

Type

Description

boolReturns true if the property exists on the camera. Returns false otherwise.