Click or drag to resize

ILinkRendererGetMeshByName Method

Returns a mesh, created by the renderer.

Namespace:  KASAPIv2
Assembly:  KAS-API-v2 (in KAS-API-v2.dll) Version: KAS API v2
Syntax
C#
Transform GetMeshByName(
	string meshName
)
Request Example View Source

Parameters

meshName
Type: SystemString
The name of the mesh. It's not required to be the object name!

Return Value

Type: Transform
The object or null if the named mesh is not created.
Exceptions
ExceptionCondition
ArgumentExceptionIf the mesh cannot be retrieved.
Remarks
It depends on the implementation which meshes a specific renderer creates. The caller must be aware of which renderer it uses and don't request unknown meshes.
See Also