C# 클래스 ScriptRuntime.Scene

场景类 主要用户查找当前场景Actor等功能
상속: ScriptRuntime.Base
파일 보기 프로젝트 열기: Genesis-3D/Genesis-3D 1 사용 예제들

공개 메소드들

메소드 설명
AddActor ( ScriptRuntime.Actor obj ) : bool

给场景添加一个Actor

FindActor ( System.Guid guid ) : ScriptRuntime.Actor

根据guid返回场景中其对应的Actor

FindActor ( String name ) : ScriptRuntime.Actor

根据Actor的名字返回对应Actor

FindActor ( uint fastID ) : ScriptRuntime.Actor

根据fastID返回场景中其对应的Actor

FindActorInGroup ( uint tagID ) : ScriptRuntime.Actor

根据tagID返回场景中其对应的Actor

FindActorsInGroup ( uint tagID ) : ScriptRuntime.Actor[]

根据GroupID返回场景中其对应Actor列表

GetActor ( int index ) : ScriptRuntime.Actor

根据Actor列表的索引,返回对应的Actor

RemoveActor ( ScriptRuntime.Actor obj ) : bool

移除场景中对应的Actor实例

비공개 메소드들

메소드 설명
Scene ( ) : System
Scene ( DummyClass__ dummyObj ) : System

메소드 상세

AddActor() 공개 메소드

给场景添加一个Actor
public AddActor ( ScriptRuntime.Actor obj ) : bool
obj ScriptRuntime.Actor 要添加的Actor实例
리턴 bool

FindActor() 공개 메소드

根据guid返回场景中其对应的Actor
public FindActor ( System.Guid guid ) : ScriptRuntime.Actor
guid System.Guid guid的值
리턴 ScriptRuntime.Actor

FindActor() 공개 메소드

根据Actor的名字返回对应Actor
public FindActor ( String name ) : ScriptRuntime.Actor
name String Actor的名字
리턴 ScriptRuntime.Actor

FindActor() 공개 메소드

根据fastID返回场景中其对应的Actor
public FindActor ( uint fastID ) : ScriptRuntime.Actor
fastID uint fastID的值
리턴 ScriptRuntime.Actor

FindActorInGroup() 공개 메소드

根据tagID返回场景中其对应的Actor
public FindActorInGroup ( uint tagID ) : ScriptRuntime.Actor
tagID uint tagID的值
리턴 ScriptRuntime.Actor

FindActorsInGroup() 공개 메소드

根据GroupID返回场景中其对应Actor列表
public FindActorsInGroup ( uint tagID ) : ScriptRuntime.Actor[]
tagID uint
리턴 ScriptRuntime.Actor[]

GetActor() 공개 메소드

根据Actor列表的索引,返回对应的Actor
public GetActor ( int index ) : ScriptRuntime.Actor
index int Actor列表中的索引
리턴 ScriptRuntime.Actor

RemoveActor() 공개 메소드

移除场景中对应的Actor实例
public RemoveActor ( ScriptRuntime.Actor obj ) : bool
obj ScriptRuntime.Actor 要移除的Actor实例
리턴 bool