name | プロパティーの名前 |
nameID | The name ID of the property. Use Shader.PropertyToID to get this ID. |
bool Returns true if MaterialPropertyBlock has this property.
Checks if MaterialPropertyBlock has the Matrix property with the given name or name ID. This also works with the Matrix Array property. To set the property, use SetMatrix.
See Also: MaterialPropertyBlock, HasProperty, HasFloat, HasTexture, HasBuffer, HasColor, HasConstantBuffer, HasInt, HasVector.