C# Class CryEngine.API.EntitySystem

显示文件 Open project: samneirinck/cemono

Public Methods

Method Description
GetProperty ( long entityId, string propertyName ) : object

Gets a property value of an entity

RegisterEntityClass ( EntityClassFlags flags, string name, string editorHelper, string editorIcon, string category, string fullyQualifiedName, string pathToAssembly, EntityProperty properties ) : void
SetProperty ( long entityId, string propertyName, object value ) : void

Sets an entity property

Private Methods

Method Description
_EntityGetProperty ( long entityId, string propertyName ) : object
_RegisterEntityClass ( EntityClassFlags flags, string name, string editorHelper, string editorIcon, string category, string fullyQualifiedName, string pathToAssembly, EntityProperty properties ) : void
_SetPropertyFloat ( long entityId, string property, float value ) : void

Method Details

GetProperty() public static method

Gets a property value of an entity
public static GetProperty ( long entityId, string propertyName ) : object
entityId long Entity id
propertyName string Name of the property
return object

RegisterEntityClass() public static method

public static RegisterEntityClass ( EntityClassFlags flags, string name, string editorHelper, string editorIcon, string category, string fullyQualifiedName, string pathToAssembly, EntityProperty properties ) : void
flags EntityClassFlags
name string
editorHelper string
editorIcon string
category string
fullyQualifiedName string
pathToAssembly string
properties EntityProperty
return void

SetProperty() public static method

Sets an entity property
public static SetProperty ( long entityId, string propertyName, object value ) : void
entityId long Entity id
propertyName string Name of the property
value object Property value
return void