Пример #1
0
        public virtual SceneNodeProperty CreateSceneNodeProperty(PropertyReference propertyReference, AttributeCollection attributes)
        {
            SceneNodeProperty sceneNodeProperty = new SceneNodeProperty(this, propertyReference, attributes);

            sceneNodeProperty.Recache();
            return(sceneNodeProperty);
        }
Пример #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);
        }
Пример #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);
        }