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 Vector property with the given name or name ID. This also works with the Vector Array property. To set the property, use SetVector.
See Also: MaterialPropertyBlock, HasProperty, HasFloat, HasTexture, HasBuffer, HasColor, HasConstantBuffer, HasInt, HasMatrix.