SkinReference
Hereda: RefCounted < Object
Un objeto contenedor con conteo de referencias para un RID de esqueleto usado en el RenderingServer.
Descripción
An internal object containing a mapping from a Skin used within the context of a particular MeshInstance3D to refer to the skeleton's RID in the RenderingServer.
See also MeshInstance3D.get_skin_reference() and RenderingServer.instance_attach_skeleton().
Note that despite the similar naming, the skeleton RID used in the RenderingServer does not have a direct one-to-one correspondence to a Skeleton3D node.
In particular, a Skeleton3D node with no MeshInstance3D children may be unknown to the RenderingServer.
On the other hand, a Skeleton3D with multiple MeshInstance3D nodes which each have different MeshInstance3D.skin objects may have multiple SkinReference instances (and hence, multiple skeleton RIDs).
Métodos
get_skeleton() const |
|
get_skin() const |
Descripciones de Métodos
Devuelve el RID propiedad de esta SkinReference, tal como lo devuelve RenderingServer.skeleton_create().
Dvuelve la Skin conectado a este SkinReference. En el caso de MeshInstance3D sin MeshInstance3D.skin asignado, esta hará referencia a una Skin predeterminada interna propiedad de ese MeshInstance3D.
Ten en cuenta que un único Skin puede tener más de un SkinReference en el caso de que sea compartida por mallas en múltiples nodos Skeleton3D.