Method | Description | |
---|---|---|
GetClone ( this o, bool cloneMeshesAsLinked ) : Attachment |
Clones the attachment.
|
|
GetClone ( this o ) : BoundingBoxAttachment | ||
GetClone ( this o ) : MeshAttachment |
Returns a clone of the MeshAttachment. This will cause Deform animations to stop working unless you explicity set the .parentMesh to the original.
|
|
GetClone ( this o ) : PathAttachment | ||
GetClone ( this o ) : RegionAttachment | ||
GetLinkedClone ( this o, bool inheritDeform = true ) : MeshAttachment | ||
GetLinkedMesh ( this o, |
Returns a new linked mesh linked to this MeshAttachment. It will be mapped to an AtlasRegion generated from a Sprite. The AtlasRegion will be mapped to a new Material based on the shader. For better caching and batching, use GetLinkedMesh(string, AtlasRegion, bool)
|
|
GetLinkedMesh ( this o, string newLinkedMeshName, AtlasRegion region, bool inheritDeform = true ) : MeshAttachment |
Returns a new linked mesh linked to this MeshAttachment. It will be mapped to the AtlasRegion provided.
|
Method | Description | |
---|---|---|
CloneVertexAttachment ( VertexAttachment src, VertexAttachment dest ) : void |
public static GetClone ( this o, bool cloneMeshesAsLinked ) : Attachment | ||
o | this | |
cloneMeshesAsLinked | bool | |
return | Attachment |
public static GetClone ( this o ) : BoundingBoxAttachment | ||
o | this | |
return | BoundingBoxAttachment |
public static GetClone ( this o ) : MeshAttachment | ||
o | this | |
return | MeshAttachment |
public static GetClone ( this o ) : PathAttachment | ||
o | this | |
return | PathAttachment |
public static GetClone ( this o ) : RegionAttachment | ||
o | this | |
return | RegionAttachment |
public static GetLinkedClone ( this o, bool inheritDeform = true ) : MeshAttachment | ||
o | this | |
inheritDeform | bool | |
return | MeshAttachment |
public static GetLinkedMesh ( this o, |
||
o | this | |
sprite | ||
shader | ||
inheritDeform | bool | |
return | MeshAttachment |
public static GetLinkedMesh ( this o, string newLinkedMeshName, AtlasRegion region, bool inheritDeform = true ) : MeshAttachment | ||
o | this | |
newLinkedMeshName | string | |
region | AtlasRegion | |
inheritDeform | bool | |
return | MeshAttachment |