Documentation

Unity Engine

Download Unity

Unity Engine

HasSkinnedMeshRenderer

Checks if the Visual Effect can override a Skinned Mesh Renderer with the name you pass in.
Read time 1 minuteLast updated 17 days ago

Definition

HasSkinnedMeshRenderer(int)

Checks if the Visual Effect can override a Skinned Mesh Renderer with the name you pass in.
public bool HasSkinnedMeshRenderer(int nameID)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

Returns

Type

Description

boolTrue if the Visual Effect can override a Skinned Mesh Renderer with that name. Otherwise, false.

HasSkinnedMeshRenderer(string)

Checks if the Visual Effect can override a Skinned Mesh Renderer with the name you pass in.
public bool HasSkinnedMeshRenderer(string name)

Parameters

name

The name of the property.

Returns

Type

Description

boolTrue if the Visual Effect can override a Skinned Mesh Renderer with that name. Otherwise, false.