C# 클래스 Xenko.Engine.Design.EntityCloner

파일 보기 프로젝트 열기: xen2/stride

공개 프로퍼티들

프로퍼티 타입 설명
CloneContextProperty PropertyKey

공개 메소드들

메소드 설명
Clone ( Entity entity ) : Entity

Clones the specified entity. Entity, children Entity and their EntityComponent will be cloned. Other assets will be shared.

Clone ( Prefab prefab ) : Prefab

Clones the specified prefab. Entity, children Entity and their EntityComponent will be cloned. Other assets will be shared.

비공개 메소드들

메소드 설명
Clone ( HashSet clonedObjects, TryGetValueFunction mappedObjects, entity ) : T

Clones the specified object, taking special care of Entity, EntityComponent and external assets. User can optionally provides list of cloned objects (list of data reference objects that should be cloned) and mapped objects (list of data reference objects that should be ducplicated using the given instance).

ClonedObjects ( ) : HashSet
CollectEntityTreeHelper ( Entity entity, HashSet entityAndComponents ) : void

Collect entities and components recursively from an entity and add them to a hashset.

메소드 상세

Clone() 공개 정적인 메소드

Clones the specified entity. Entity, children Entity and their EntityComponent will be cloned. Other assets will be shared.
public static Clone ( Entity entity ) : Entity
entity Entity The entity.
리턴 Entity

Clone() 공개 정적인 메소드

Clones the specified prefab. Entity, children Entity and their EntityComponent will be cloned. Other assets will be shared.
public static Clone ( Prefab prefab ) : Prefab
prefab Prefab The prefab to clone.
리턴 Prefab

프로퍼티 상세

CloneContextProperty 공개적으로 정적으로 프로퍼티

public static PropertyKey CloneContextProperty
리턴 PropertyKey