Ejemplo n.º 1
0
        public virtual SceneNodeProperty CreateSceneNodeProperty(PropertyReference propertyReference, AttributeCollection attributes)
        {
            SceneNodeProperty sceneNodeProperty = new SceneNodeProperty(this, propertyReference, attributes);

            sceneNodeProperty.Recache();
            return(sceneNodeProperty);
        }
Ejemplo n.º 2
0
        public PropertyReferenceProperty CreateProperty(PropertyReference propertyReference, AttributeCollection attributes, Type proxyType)
        {
            SceneNodeProperty sceneNodeProperty = new SceneNodeProperty(this, propertyReference, attributes, (PropertyValue)null, proxyType);

            sceneNodeProperty.Recache();
            return((PropertyReferenceProperty)sceneNodeProperty);
        }
Ejemplo n.º 3
0
        public override SceneNodeProperty CreateSceneNodeProperty(PropertyReference propertyReference, AttributeCollection attributes)
        {
            if (propertyReference.Count != 1 || !DictionaryEntryNode.ValueProperty.Equals((object)propertyReference[0]))
            {
                return(base.CreateSceneNodeProperty(propertyReference, attributes));
            }
            SceneNodeProperty sceneNodeProperty = (SceneNodeProperty) new ResourcePaneSceneNodeProperty((SceneNodeObjectSet)this, propertyReference, attributes, this.resource.Resource.TargetType, (ITypeResolver)this.ProjectContext);

            sceneNodeProperty.Recache();
            return(sceneNodeProperty);
        }