protected override void OnValidateReferences(Validation.ValidationContext result) { base.OnValidateReferences(result); result.CheckSchemaIsValidURI("Uri", this._uri); result.CheckArrayIndexAccess("BufferView", _bufferView, this.LogicalParent.LogicalBufferViews); }
protected override void OnValidateReferences(Validation.ValidationContext result) { base.OnValidateReferences(result); result.CheckSchemaIsValidURI("Uri", this._uri, EMBEDDEDGLTFBUFFER, EMBEDDEDOCTETSTREAM); result.CheckSchemaIsInRange("ByteLength", _byteLength, _byteLengthMinimum, int.MaxValue); // result.CheckSchemaIsMultipleOf("ByteLength", _byteLength, 4); }