C# Class Outliner.Scene.OutlinerScene

Afficher le fichier Open project: Pjanssen/Outliner Class Usage Examples

Protected Properties

Свойство Type Description
layers OutlinerLayer>.Dictionary
layers_by_parentHandle List>.Dictionary
materials OutlinerMaterial>.Dictionary
materials_by_parentHandle List>.Dictionary
objectCounter System.Int32
objects OutlinerObject>.Dictionary
objects_by_layerHandle List>.Dictionary
objects_by_materialHandle List>.Dictionary
objects_by_parentHandle List>.Dictionary

Méthodes publiques

Méthode Description
AddLayer ( Int32 handle, Int32 parentHandle, String name, System.Boolean isActive, System.Boolean isHidden, System.Boolean isFrozen, System.Boolean boxMode ) : void
AddLayer ( OutlinerLayer layer ) : void
AddMaterial ( Int32 handle, Int32 parentHandle, String name, String type ) : void
AddMaterial ( OutlinerMaterial mat ) : void
AddObject ( Int32 handle, Int32 parentHandle, Int32 layerHandle, Int32 materialHandle, String name, String objClass, String objSuperClass, System.Boolean isGroupHead, System.Boolean isGroupMember, System.Boolean isHidden, System.Boolean isFrozen, System.Boolean boxMode ) : void
AddObject ( OutlinerObject obj ) : void
Clear ( ) : void
ClearMaterials ( ) : void
ContainsMaterial ( Int32 materialHandle ) : System.Boolean
GetLayerByHandle ( Int32 handle ) : OutlinerLayer
GetLayerChildNodesCount ( Int32 layerHandle ) : Int32
GetLayersByParentHandle ( Int32 handle ) : List
GetMaterialByHandle ( Int32 handle ) : OutlinerMaterial
GetMaterialChildNodesCount ( Int32 materialHandle ) : Int32
GetMaterialsByParentHandle ( Int32 handle ) : List
GetNodeByHandle ( Int32 handle ) : OutlinerNode
GetObjectByHandle ( Int32 handle ) : OutlinerObject
GetObjectChildNodesCount ( Int32 objectHandle ) : Int32
GetObjectsByLayerHandle ( Int32 handle ) : List
GetObjectsByMaterialHandle ( Int32 handle ) : List
GetObjectsByParentHandle ( Int32 handle ) : List
IsValidLayerName ( Int32 layerHandle, String newName ) : System.Boolean
IsValidLayerName ( OutlinerLayer editingLayer, String newName ) : System.Boolean
IsValidMaterialName ( Int32 materialHandle, String newName ) : System.Boolean
IsValidMaterialName ( OutlinerMaterial editingMaterial, String newName ) : System.Boolean
OutlinerScene ( ) : System
RemoveLayer ( OutlinerLayer layer ) : void
RemoveMaterial ( OutlinerMaterial mat ) : void
RemoveNode ( OutlinerNode node ) : void
RemoveObject ( OutlinerObject obj ) : void
SetLayerParentHandle ( OutlinerLayer layer, Int32 newParentHandle ) : void
SetObjectLayerHandle ( OutlinerObject obj, Int32 newLayerHandle ) : void
SetObjectMaterialHandle ( OutlinerObject obj, Int32 newMaterialHandle ) : void
SetObjectParentHandle ( OutlinerObject obj, Int32 newParentHandle ) : void

Private Methods

Méthode Description
CanAddObject ( OutlinerObject obj ) : System.Boolean
addHandleToListInDict ( Int32 handle, Dictionary dict, Int32 listHandle ) : void
getNodesFromDict ( Dictionary dict, Int32 listHandle, getNodeFn nodeFn ) : List
getNodesFromDictCount ( Dictionary dict, Int32 listHandle ) : Int32
removeHandleFromListInDict ( Int32 handle, Dictionary dict, Int32 listHandle ) : void

Method Details

AddLayer() public méthode

public AddLayer ( Int32 handle, Int32 parentHandle, String name, System.Boolean isActive, System.Boolean isHidden, System.Boolean isFrozen, System.Boolean boxMode ) : void
handle System.Int32
parentHandle System.Int32
name String
isActive System.Boolean
isHidden System.Boolean
isFrozen System.Boolean
boxMode System.Boolean
Résultat void

AddLayer() public méthode

public AddLayer ( OutlinerLayer layer ) : void
layer OutlinerLayer
Résultat void

AddMaterial() public méthode

public AddMaterial ( Int32 handle, Int32 parentHandle, String name, String type ) : void
handle System.Int32
parentHandle System.Int32
name String
type String
Résultat void

AddMaterial() public méthode

public AddMaterial ( OutlinerMaterial mat ) : void
mat OutlinerMaterial
Résultat void

AddObject() public méthode

public AddObject ( Int32 handle, Int32 parentHandle, Int32 layerHandle, Int32 materialHandle, String name, String objClass, String objSuperClass, System.Boolean isGroupHead, System.Boolean isGroupMember, System.Boolean isHidden, System.Boolean isFrozen, System.Boolean boxMode ) : void
handle System.Int32
parentHandle System.Int32
layerHandle System.Int32
materialHandle System.Int32
name String
objClass String
objSuperClass String
isGroupHead System.Boolean
isGroupMember System.Boolean
isHidden System.Boolean
isFrozen System.Boolean
boxMode System.Boolean
Résultat void

AddObject() public méthode

public AddObject ( OutlinerObject obj ) : void
obj OutlinerObject
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

ClearMaterials() public méthode

public ClearMaterials ( ) : void
Résultat void

ContainsMaterial() public méthode

public ContainsMaterial ( Int32 materialHandle ) : System.Boolean
materialHandle System.Int32
Résultat System.Boolean

GetLayerByHandle() public méthode

public GetLayerByHandle ( Int32 handle ) : OutlinerLayer
handle System.Int32
Résultat OutlinerLayer

GetLayerChildNodesCount() public méthode

public GetLayerChildNodesCount ( Int32 layerHandle ) : Int32
layerHandle System.Int32
Résultat System.Int32

GetLayersByParentHandle() public méthode

public GetLayersByParentHandle ( Int32 handle ) : List
handle System.Int32
Résultat List

GetMaterialByHandle() public méthode

public GetMaterialByHandle ( Int32 handle ) : OutlinerMaterial
handle System.Int32
Résultat OutlinerMaterial

GetMaterialChildNodesCount() public méthode

public GetMaterialChildNodesCount ( Int32 materialHandle ) : Int32
materialHandle System.Int32
Résultat System.Int32

GetMaterialsByParentHandle() public méthode

public GetMaterialsByParentHandle ( Int32 handle ) : List
handle System.Int32
Résultat List

GetNodeByHandle() public méthode

public GetNodeByHandle ( Int32 handle ) : OutlinerNode
handle System.Int32
Résultat OutlinerNode

GetObjectByHandle() public méthode

public GetObjectByHandle ( Int32 handle ) : OutlinerObject
handle System.Int32
Résultat OutlinerObject

GetObjectChildNodesCount() public méthode

public GetObjectChildNodesCount ( Int32 objectHandle ) : Int32
objectHandle System.Int32
Résultat System.Int32

GetObjectsByLayerHandle() public méthode

public GetObjectsByLayerHandle ( Int32 handle ) : List
handle System.Int32
Résultat List

GetObjectsByMaterialHandle() public méthode

public GetObjectsByMaterialHandle ( Int32 handle ) : List
handle System.Int32
Résultat List

GetObjectsByParentHandle() public méthode

public GetObjectsByParentHandle ( Int32 handle ) : List
handle System.Int32
Résultat List

IsValidLayerName() public méthode

public IsValidLayerName ( Int32 layerHandle, String newName ) : System.Boolean
layerHandle System.Int32
newName String
Résultat System.Boolean

IsValidLayerName() public méthode

public IsValidLayerName ( OutlinerLayer editingLayer, String newName ) : System.Boolean
editingLayer OutlinerLayer
newName String
Résultat System.Boolean

IsValidMaterialName() public méthode

public IsValidMaterialName ( Int32 materialHandle, String newName ) : System.Boolean
materialHandle System.Int32
newName String
Résultat System.Boolean

IsValidMaterialName() public méthode

public IsValidMaterialName ( OutlinerMaterial editingMaterial, String newName ) : System.Boolean
editingMaterial OutlinerMaterial
newName String
Résultat System.Boolean

OutlinerScene() public méthode

public OutlinerScene ( ) : System
Résultat System

RemoveLayer() public méthode

public RemoveLayer ( OutlinerLayer layer ) : void
layer OutlinerLayer
Résultat void

RemoveMaterial() public méthode

public RemoveMaterial ( OutlinerMaterial mat ) : void
mat OutlinerMaterial
Résultat void

RemoveNode() public méthode

public RemoveNode ( OutlinerNode node ) : void
node OutlinerNode
Résultat void

RemoveObject() public méthode

public RemoveObject ( OutlinerObject obj ) : void
obj OutlinerObject
Résultat void

SetLayerParentHandle() public méthode

public SetLayerParentHandle ( OutlinerLayer layer, Int32 newParentHandle ) : void
layer OutlinerLayer
newParentHandle System.Int32
Résultat void

SetObjectLayerHandle() public méthode

public SetObjectLayerHandle ( OutlinerObject obj, Int32 newLayerHandle ) : void
obj OutlinerObject
newLayerHandle System.Int32
Résultat void

SetObjectMaterialHandle() public méthode

public SetObjectMaterialHandle ( OutlinerObject obj, Int32 newMaterialHandle ) : void
obj OutlinerObject
newMaterialHandle System.Int32
Résultat void

SetObjectParentHandle() public méthode

public SetObjectParentHandle ( OutlinerObject obj, Int32 newParentHandle ) : void
obj OutlinerObject
newParentHandle System.Int32
Résultat void

Property Details

layers protected_oe property

protected Dictionary layers
Résultat OutlinerLayer>.Dictionary

layers_by_parentHandle protected_oe property

protected Dictionary> layers_by_parentHandle
Résultat List>.Dictionary

materials protected_oe property

protected Dictionary materials
Résultat OutlinerMaterial>.Dictionary

materials_by_parentHandle protected_oe property

protected Dictionary> materials_by_parentHandle
Résultat List>.Dictionary

objectCounter protected_oe property

protected Int32,System objectCounter
Résultat System.Int32

objects protected_oe property

protected Dictionary objects
Résultat OutlinerObject>.Dictionary

objects_by_layerHandle protected_oe property

protected Dictionary> objects_by_layerHandle
Résultat List>.Dictionary

objects_by_materialHandle protected_oe property

protected Dictionary> objects_by_materialHandle
Résultat List>.Dictionary

objects_by_parentHandle protected_oe property

protected Dictionary> objects_by_parentHandle
Résultat List>.Dictionary